class SentinelAttr
Declaration
class SentinelAttr : public InheritableAttr { /* full declaration omitted */ };
Description
Attr - This represents one attribute.
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10311
Inherits from: InheritableAttr
Member Variables
- private int sentinel
- private int nullPos
- public static const int DefaultSentinel = 0
- public static const int DefaultNullPos = 0
Inherited from Attr:
- protected Inherited
- protected IsPackExpansion
- protected Implicit
- protected IsLateParsed
- protected InheritEvenIfAlreadyPresent
Inherited from AttributeCommonInfo:
Method Overview
- public static clang::SentinelAttr * Create(clang::ASTContext & Ctx, int Sentinel, int NullPos, const clang::AttributeCommonInfo & CommonInfo)
- public static clang::SentinelAttr * Create(clang::ASTContext & Ctx, int Sentinel, int NullPos, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
- public static clang::SentinelAttr * CreateImplicit(clang::ASTContext & Ctx, int Sentinel, int NullPos, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
- public static clang::SentinelAttr * CreateImplicit(clang::ASTContext & Ctx, int Sentinel, int NullPos, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
- public SentinelAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, int Sentinel, int NullPos)
- public SentinelAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo)
- public static bool classof(const clang::Attr * A)
- public clang::SentinelAttr * clone(clang::ASTContext & C) const
- public int getNullPos() const
- public int getSentinel() const
- public const char * getSpelling() const
- public void printPretty(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const
Inherited from InheritableAttr:
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
¶static clang::SentinelAttr* Create(
clang::ASTContext& Ctx,
int Sentinel,
int NullPos,
const clang::AttributeCommonInfo& CommonInfo)
static clang::SentinelAttr* Create(
clang::ASTContext& Ctx,
int Sentinel,
int NullPos,
const clang::AttributeCommonInfo& CommonInfo)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10327
Parameters
- clang::ASTContext& Ctx
- int Sentinel
- int NullPos
- const clang::AttributeCommonInfo& CommonInfo
¶static clang::SentinelAttr* Create(
clang::ASTContext& Ctx,
int Sentinel,
int NullPos,
clang::SourceRange Range,
AttributeCommonInfo::Syntax Syntax)
static clang::SentinelAttr* Create(
clang::ASTContext& Ctx,
int Sentinel,
int NullPos,
clang::SourceRange Range,
AttributeCommonInfo::Syntax Syntax)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10329
Parameters
- clang::ASTContext& Ctx
- int Sentinel
- int NullPos
- clang::SourceRange Range
- AttributeCommonInfo::Syntax Syntax
¶static clang::SentinelAttr* CreateImplicit(
clang::ASTContext& Ctx,
int Sentinel,
int NullPos,
const clang::AttributeCommonInfo& CommonInfo =
{clang::SourceRange{}})
static clang::SentinelAttr* CreateImplicit(
clang::ASTContext& Ctx,
int Sentinel,
int NullPos,
const clang::AttributeCommonInfo& CommonInfo =
{clang::SourceRange{}})
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10326
Parameters
- clang::ASTContext& Ctx
- int Sentinel
- int NullPos
- const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}
¶static clang::SentinelAttr* CreateImplicit(
clang::ASTContext& Ctx,
int Sentinel,
int NullPos,
clang::SourceRange Range,
AttributeCommonInfo::Syntax Syntax)
static clang::SentinelAttr* CreateImplicit(
clang::ASTContext& Ctx,
int Sentinel,
int NullPos,
clang::SourceRange Range,
AttributeCommonInfo::Syntax Syntax)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10328
Parameters
- clang::ASTContext& Ctx
- int Sentinel
- int NullPos
- clang::SourceRange Range
- AttributeCommonInfo::Syntax Syntax
¶SentinelAttr(
clang::ASTContext& Ctx,
const clang::AttributeCommonInfo& CommonInfo,
int Sentinel,
int NullPos)
SentinelAttr(
clang::ASTContext& Ctx,
const clang::AttributeCommonInfo& CommonInfo,
int Sentinel,
int NullPos)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10332
Parameters
- clang::ASTContext& Ctx
- const clang::AttributeCommonInfo& CommonInfo
- int Sentinel
- int NullPos
¶SentinelAttr(
clang::ASTContext& Ctx,
const clang::AttributeCommonInfo& CommonInfo)
SentinelAttr(
clang::ASTContext& Ctx,
const clang::AttributeCommonInfo& CommonInfo)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10336
Parameters
- clang::ASTContext& Ctx
- const clang::AttributeCommonInfo& CommonInfo
¶static bool classof(const clang::Attr* A)
static bool classof(const clang::Attr* A)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10357
Parameters
- const clang::Attr* A
¶clang::SentinelAttr* clone(
clang::ASTContext& C) const
clang::SentinelAttr* clone(
clang::ASTContext& C) const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10339
Parameters
¶int getNullPos() const
int getNullPos() const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10349
¶int getSentinel() const
int getSentinel() const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10343
¶const char* getSpelling() const
const char* getSpelling() const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10342
¶void printPretty(
llvm::raw_ostream& OS,
const clang::PrintingPolicy& Policy) const
void printPretty(
llvm::raw_ostream& OS,
const clang::PrintingPolicy& Policy) const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10340
Parameters
- llvm::raw_ostream& OS
- const clang::PrintingPolicy& Policy