llvm-project
33676ba5 - [clang][Interp] Fix variable initialization in inactive regions

Commit
1 year ago
[clang][Interp] Fix variable initialization in inactive regions When the EvalEmitter is inactive, it will simply not evaluate any of the operations we emit via emit*. However, it will still allocate variables. So the variables will be allocated, but we won't evaluate their initializer, so later when we see the variable again, it is uninitialized. Stop creating variables in that case.
Author
Committer
Parents
Loading