[clang] [clang] Add support for new loop attribute [[clang::code_align()]] (PR #70762)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 1 10:01:30 PDT 2023
================
@@ -4280,3 +4280,12 @@ def PreferredType: InheritableAttr {
let Args = [TypeArgument<"Type", 1>];
let Documentation = [PreferredTypeDocumentation];
}
+
+def CodeAlign: StmtAttr {
+ let Spellings = [CXX11<"clang", "code_align">,
+ C23<"clang", "code_align">];
----------------
AaronBallman wrote:
```suggestion
let Spellings = [Clang<"code_align">];
```
Unless you intentionally do not want to support the GNU-style spelling for some reason?
https://github.com/llvm/llvm-project/pull/70762
More information about the cfe-commits
mailing list