[clang] [CIR] Propagate correct flags to EHCleanupScope (PR #179137)
Amr Hesham via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 1 13:07:25 PST 2026
AmrDeveloper wrote:
Note:
Found this problem when working on PoC of cleanup scope, without this fix, ClangIR will compile this code and produce wrong IR with no NYI
```
struct S {
~S();
};
void f();
void g() {
S s1;
f();
S s2;
f();
}
```
After this fix, it will trigger NYI in emitCallLikeOp
https://github.com/llvm/llvm-project/pull/179137
More information about the cfe-commits
mailing list