[clang] [Clang] [C++26] Expansion Statements (Part 1: AST) (PR #169680)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Mon May 4 09:03:26 PDT 2026
================
@@ -38,6 +38,18 @@ static Attr *handleFallThroughAttr(Sema &S, Stmt *St, const ParsedAttr &A,
return nullptr;
}
+ // CWG 3045: The innermost enclosing switch statement of a fallthrough
+ // statement S shall be contained in the innermost enclosing expansion
+ // statement (8.7 [stmt.expand]) of S, if any.
----------------
cor3ntin wrote:
ideally we should have a dr test for everything so that reflects the completeness of your work
https://clang.llvm.org/cxx_dr_status.html
https://github.com/llvm/llvm-project/pull/169680
More information about the cfe-commits
mailing list