================
@@ -296,6 +296,11 @@ StmtResult
Parser::ParseStatementOrDeclarationAfterAttributes(
goto Retry;
}
+ case tok::kw_alignas: {
+ ParseAlignmentSpecifier(CXX11Attrs);
----------------
DenisGZM wrote:
No, we don't. Аor statements alignas is still illegal:
```
error: 'alignas' attribute cannot be applied to a statement
8 | alignas(int) foo();
```
https://github.com/llvm/llvm-project/pull/133107
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits