class InheritableAttr
Declaration
class InheritableAttr : public Attr { /* full declaration omitted */ };
Description
Attr - This represents one attribute.
Declared at: clang/include/clang/AST/Attr.h:137
Inherits from: Attr
Member Variables
Inherited from Attr:
- protected Inherited
- protected IsPackExpansion
- protected Implicit
- protected IsLateParsed
- protected InheritEvenIfAlreadyPresent
Inherited from AttributeCommonInfo:
Method Overview
- protected InheritableAttr(clang::ASTContext & Context, const clang::AttributeCommonInfo & CommonInfo, attr::Kind AK, bool IsLateParsed, bool InheritEvenIfAlreadyPresent)
- public static bool classof(const clang::Attr * A)
- public void setInherited(bool I)
- public bool shouldInheritEvenIfAlreadyPresent() const
Inherited from Attr:
- public clone
- public getDocumentation
- public getKind
- public getLocation
- public getSpelling
- public getSpellingListIndex
- public isImplicit
- public isInherited
- public isLateParsed
- public isPackExpansion
- public printPretty
- public setImplicit
- public setPackExpansion
Inherited from AttributeCommonInfo:
- public getAttrName
- public getAttributeSpellingListIndex
- public getLoc
- public getNormalizedFullName
- public getParsedKind
- public getParsedKind
- public getRange
- public getScopeLoc
- public getScopeName
- public getSyntax
- public hasScope
- public isAlignasAttribute
- protected isAttributeSpellingListCalculated
- public isC2xAttribute
- public isCXX11Attribute
- public isClangScope
- public isContextSensitiveKeywordAttribute
- public isDeclspecAttribute
- public isGNUAttribute
- public isGNUScope
- public isKeywordAttribute
- public isMicrosoftAttribute
- public isStandardAttributeSyntax
- public setAttributeSpellingListIndex
- public setRange
Methods
¶InheritableAttr(
clang::ASTContext& Context,
const clang::AttributeCommonInfo& CommonInfo,
attr::Kind AK,
bool IsLateParsed,
bool InheritEvenIfAlreadyPresent)
InheritableAttr(
clang::ASTContext& Context,
const clang::AttributeCommonInfo& CommonInfo,
attr::Kind AK,
bool IsLateParsed,
bool InheritEvenIfAlreadyPresent)
Declared at: clang/include/clang/AST/Attr.h:139
Parameters
- clang::ASTContext& Context
- const clang::AttributeCommonInfo& CommonInfo
- attr::Kind AK
- bool IsLateParsed
- bool InheritEvenIfAlreadyPresent
¶static bool classof(const clang::Attr* A)
static bool classof(const clang::Attr* A)
Declared at: clang/include/clang/AST/Attr.h:156
Parameters
- const clang::Attr* A
¶void setInherited(bool I)
void setInherited(bool I)
Declared at: clang/include/clang/AST/Attr.h:147
Parameters
- bool I
¶bool shouldInheritEvenIfAlreadyPresent() const
bool shouldInheritEvenIfAlreadyPresent() const
Description
Should this attribute be inherited from a prior declaration even if it's explicitly provided in the current declaration?
Declared at: clang/include/clang/AST/Attr.h:151