enum AttributeCommonInfo::Syntax
Description
The style used to specify an attribute.
Declared at: clang/include/clang/Basic/AttributeCommonInfo.h:25
Enumerators
| Name | Value | Comment |
|---|---|---|
| AS_GNU | 0 | __attribute__((...)) |
| AS_CXX11 | 1 | [[...]] |
| AS_C2x | 2 | [[...]] |
| AS_Declspec | 3 | __declspec(...) |
| AS_Microsoft | 4 | [uuid("...")] class Foo |
| AS_Keyword | 5 | __ptr16, alignas(...), etc. |
| AS_Pragma | 6 | #pragma ... |
| AS_ContextSensitiveKeyword | 7 | Context-sensitive version of a keyword attribute. |
| AS_HLSLSemantic | 8 | <vardecl > : <semantic > |