[llvm-branch-commits] [clang] [Clang] [C++26] Expansion Statements (Part 8: Codegen) (PR #169687)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jul 9 18:57:42 PDT 2026
================
@@ -1511,6 +1512,36 @@ CodeGenFunction::EmitCXXForRangeStmt(const CXXForRangeStmt &S,
}
}
+void CodeGenFunction::EmitCXXExpansionStmtInstantiation(
+ const CXXExpansionStmtInstantiation &S) {
+ // FIXME: For reasons beyond my understanding, two scopes are required to emit
----------------
Sirraide wrote:
> I'd guess template instantiation skips creating an ExprWithCleanups somewhere.
Oh that might be it; I’ll investigate that
https://github.com/llvm/llvm-project/pull/169687
More information about the llvm-branch-commits
mailing list