|
enum | Syntax {
AS_GNU,
AS_CXX11,
AS_C2x,
AS_Declspec,
AS_Microsoft,
AS_Keyword,
AS_Pragma,
AS_ContextSensitiveKeyword
} |
| The style used to specify an attribute. More...
|
|
enum | Kind { NoSemaHandlerAttribute,
IgnoredAttribute,
UnknownAttribute
} |
|
void * | operator new (size_t Bytes, ASTContext &C, size_t Alignment=8) noexcept |
|
void | operator delete (void *Ptr, ASTContext &C, size_t Alignment) noexcept |
|
attr::Kind | getKind () const |
|
unsigned | getSpellingListIndex () const |
|
const char * | getSpelling () const |
|
SourceLocation | getLocation () const |
|
bool | isInherited () const |
|
bool | isImplicit () const |
| Returns true if the attribute has been implicitly created instead of explicitly written by the user. More...
|
|
void | setImplicit (bool I) |
|
void | setPackExpansion (bool PE) |
|
bool | isPackExpansion () const |
|
Attr * | clone (ASTContext &C) const |
|
bool | isLateParsed () const |
|
void | printPretty (raw_ostream &OS, const PrintingPolicy &Policy) const |
|
| AttributeCommonInfo (SourceRange AttrRange) |
|
| AttributeCommonInfo (SourceLocation AttrLoc) |
|
| AttributeCommonInfo (const IdentifierInfo *AttrName, const IdentifierInfo *ScopeName, SourceRange AttrRange, SourceLocation ScopeLoc, Syntax SyntaxUsed) |
|
| AttributeCommonInfo (const IdentifierInfo *AttrName, const IdentifierInfo *ScopeName, SourceRange AttrRange, SourceLocation ScopeLoc, Kind AttrKind, Syntax SyntaxUsed) |
|
| AttributeCommonInfo (const IdentifierInfo *AttrName, const IdentifierInfo *ScopeName, SourceRange AttrRange, SourceLocation ScopeLoc, Kind AttrKind, Syntax SyntaxUsed, unsigned Spelling) |
|
| AttributeCommonInfo (const IdentifierInfo *AttrName, SourceRange AttrRange, Syntax SyntaxUsed) |
|
| AttributeCommonInfo (SourceRange AttrRange, Kind K, Syntax SyntaxUsed) |
|
| AttributeCommonInfo (SourceRange AttrRange, Kind K, Syntax SyntaxUsed, unsigned Spelling) |
|
| AttributeCommonInfo (AttributeCommonInfo &&)=default |
|
| AttributeCommonInfo (const AttributeCommonInfo &)=default |
|
Kind | getParsedKind () const |
|
Syntax | getSyntax () const |
|
const IdentifierInfo * | getAttrName () const |
|
SourceLocation | getLoc () const |
|
SourceRange | getRange () const |
|
void | setRange (SourceRange R) |
|
bool | hasScope () const |
|
const IdentifierInfo * | getScopeName () const |
|
SourceLocation | getScopeLoc () const |
|
bool | isDeclspecAttribute () const |
|
bool | isMicrosoftAttribute () const |
|
bool | isGNUScope () const |
|
bool | isAlignasAttribute () const |
|
bool | isCXX11Attribute () const |
|
bool | isC2xAttribute () const |
|
bool | isKeywordAttribute () const |
|
bool | isContextSensitiveKeywordAttribute () const |
|
unsigned | getAttributeSpellingListIndex () const |
|
void | setAttributeSpellingListIndex (unsigned V) |
|
unsigned | Inherited: 1 |
| An index into the spelling list of an attribute defined in Attr.td file. More...
|
|
unsigned | IsPackExpansion: 1 |
|
unsigned | Implicit: 1 |
|
unsigned | IsLateParsed: 1 |
|
unsigned | InheritEvenIfAlreadyPresent: 1 |
|
static constexpr unsigned | SpellingNotCalculated = 0xf |
|
Definition at line 126 of file Attr.h.