[clang] [CLANG] Enable alignas after GNU attributes (PR #133107)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 4 08:04:33 PDT 2025
================
@@ -296,6 +296,11 @@ StmtResult Parser::ParseStatementOrDeclarationAfterAttributes(
goto Retry;
}
+ case tok::kw_alignas: {
+ ParseAlignmentSpecifier(CXX11Attrs);
----------------
AaronBallman wrote:
I think this means we now quietly accept this code: https://godbolt.org/z/eb9MhvTWd
https://github.com/llvm/llvm-project/pull/133107
More information about the cfe-commits
mailing list