[clang] [clang][CodeGen] Detect backward jumps for C lifetime markers (PR #233579)

Nick Desaulniers via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 4 11:10:06 PST 2026


================
@@ -584,6 +584,18 @@ Address
 CodeGenFunction::EmitCompoundStmtWithoutScope(const CompoundStmt &S,
                                               bool GetLast,
                                               AggValueSlot AggSlot) {
+  if (!getLangOpts().CPlusPlus && !Bypasses.isAlwaysBypassed() &&
----------------
nickdesaulniers wrote:

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

Will update this PR once that one lands. Consider this WIP until then.

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


More information about the cfe-commits mailing list