[clang] [Clang] [C++26] Implement P1306R5 Expansion Statements (PR #165195)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 13 03:46:02 PST 2025
================
@@ -524,6 +525,354 @@ class CoreturnStmt : public Stmt {
}
};
+/// CXXExpansionStmt - Base class for an unexpanded C++ expansion statement.
+class CXXExpansionStmt : public Stmt {
+ friend class ASTStmtReader;
+
+ ExpansionStmtDecl *ParentDecl;
+ SourceLocation ForLoc;
----------------
Sirraide wrote:
I mean, I guess we don’t need to store it; it doesn’t cost much imo, but I can remove it
https://github.com/llvm/llvm-project/pull/165195
More information about the cfe-commits
mailing list