llvm-project
7a1da194 - [clang][bytecode] Only implicitly destroy locals for EvalEmitter (#248064)

Commit
22 hours ago
[clang][bytecode] Only implicitly destroy locals for EvalEmitter (#248064) For bytecode, we want to avoid the double destroy ops. We need to call `destroyLocals()` so we can use the return value. When evaluating directly, we need to destroy locals in the destructor too so we don't leak memory when a one of our visit functions returns an error early.
Author
Parents
Loading