[clang] [Clang] [C++26] Implement P1306R5 Expansion Statements (PR #165195)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 12 08:36:52 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;
----------------
erichkeane wrote:
When is this not just `BeginLoc`?
https://github.com/llvm/llvm-project/pull/165195
More information about the cfe-commits
mailing list