diff options
author | Congcong Cai <congcongcai0907@163.com> | 2024-10-30 14:34:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-30 14:34:19 +0800 |
commit | cad09404cc804dd35d2f3b742d1d6efb6d5a9449 (patch) | |
tree | 88b8b3037d793d220dc8634d06368cba0d2a0f4a /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 44d0e9522a80e1301e96c4751b7572ae0c9cb4dd (diff) | |
download | llvm-cad09404cc804dd35d2f3b742d1d6efb6d5a9449.zip llvm-cad09404cc804dd35d2f3b742d1d6efb6d5a9449.tar.gz llvm-cad09404cc804dd35d2f3b742d1d6efb6d5a9449.tar.bz2 |
[sema] enhance error handling for compound stmt body in `StmtExpr` (#113760)
Mark the whole StmtExpr invalid when the last statement in compound
statement is invalid.
Because the last statement need to do copy initialization, it causes
subsequent errors to simply ignore last invalid statement.
Fixed: #113468
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions