[clang] [clang][CodeGen] Do not try to emit definition of variable whose initializer contains errors (PR #131278)

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 13 23:45:27 PDT 2025


HighCommander4 wrote:

> Note that doing so might also hide those similar bugs where we accidentally make RecoveryExpr into CodeGen. So I don't know if this is on the right track

Agreed. I wrote this patch for illustrative purposes but as I mentioned [here](https://github.com/llvm/llvm-project/issues/50067#issuecomment-2723653347) I'd rather not take it.

https://github.com/llvm/llvm-project/pull/131278


More information about the cfe-commits mailing list