[clang] [Clang] [C++26] Expansion Statements (Part 1: AST) (PR #169680)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 1 07:17:26 PST 2025
================
@@ -1704,6 +1704,85 @@ void ASTStmtWriter::VisitCXXForRangeStmt(CXXForRangeStmt *S) {
Code = serialization::STMT_CXX_FOR_RANGE;
}
+void ASTStmtWriter::VisitCXXExpansionStmtPattern(CXXExpansionStmtPattern *S) {
----------------
erichkeane wrote:
At one point we should make sure we have tests for all of this. You can use PCH (I do it a bunch for the -ast tests in OpenACC if you need an example) and dump-ast together to make sure the AST is the same before and after.
https://github.com/llvm/llvm-project/pull/169680
More information about the cfe-commits
mailing list