|
| bool | isSemanticIndexable () const |
| void | setSemanticIndex (unsigned SemanticIndex) |
| unsigned | getSemanticIndex () const |
| bool | isSemanticIndexExplicit () const |
| void | setTargetDecl (Decl *D) |
| Decl * | getTargetDecl () const |
| void | setInherited (bool I) |
| bool | shouldInheritEvenIfAlreadyPresent () const |
| | Should this attribute be inherited from a prior declaration even if it's explicitly provided in the current declaration?
|
| 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.
|
| 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 (const IdentifierInfo *AttrName, AttributeScopeInfo AttrScope, SourceRange AttrRange, Kind AttrKind, Form FormUsed) |
| | AttributeCommonInfo (const IdentifierInfo *AttrName, AttributeScopeInfo Scope, SourceRange AttrRange, Form FormUsed) |
| | AttributeCommonInfo (const IdentifierInfo *AttrName, SourceRange AttrRange, Form FormUsed) |
| | AttributeCommonInfo (SourceRange AttrRange, Kind K, Form FormUsed) |
| | AttributeCommonInfo (SourceRange AttrRange, AttributeScopeInfo AttrScope, Kind K, Form FormUsed) |
| | AttributeCommonInfo (AttributeCommonInfo &&)=default |
| | AttributeCommonInfo (const AttributeCommonInfo &)=default |
| Kind | getParsedKind () const |
| Syntax | getSyntax () const |
| Form | getForm () const |
| const IdentifierInfo * | getAttrName () const |
| void | setAttrName (const IdentifierInfo *AttrNameII) |
| SourceLocation | getLoc () const |
| SourceRange | getRange () const |
| void | setRange (SourceRange R) |
| bool | hasScope () const |
| bool | isExplicitScope () const |
| const IdentifierInfo * | getScopeName () const |
| SourceLocation | getScopeLoc () const |
| std::string | getNormalizedFullName () const |
| | Gets the normalized full name, which consists of both scope and name and with surrounding underscores removed as appropriate (e.g.
|
| std::string | getNormalizedFullName (StringRef ScopeName, StringRef AttrName) const |
| StringRef | getNormalizedScopeName () const |
| StringRef | getNormalizedAttrName (StringRef ScopeName) const |
| std::optional< StringRef > | tryGetCorrectedScopeName (StringRef ScopeName) const |
| std::optional< StringRef > | tryGetCorrectedAttrName (StringRef ScopeName, StringRef AttrName, const TargetInfo &Target, const LangOptions &LangOpts) const |
| SourceRange | getNormalizedRange () const |
| bool | isDeclspecAttribute () const |
| bool | isMicrosoftAttribute () const |
| bool | isGNUScope () const |
| bool | isClangScope () const |
| bool | isCXX11Attribute () const |
| bool | isC23Attribute () const |
| bool | isAlignas () const |
| bool | isStandardAttributeSyntax () const |
| | The attribute is spelled [[]] in either C or C++ mode, including standard attributes spelled with a keyword, like alignas.
|
| bool | isGNUAttribute () const |
| bool | isKeywordAttribute () const |
| bool | isRegularKeywordAttribute () const |
| bool | isContextSensitiveKeywordAttribute () const |
| unsigned | getAttributeSpellingListIndex () const |
| void | setAttributeSpellingListIndex (unsigned V) |
Definition at line 235 of file Attr.h.