class SwiftAsyncErrorAttr
Declaration
class SwiftAsyncErrorAttr : public InheritableAttr { /* full declaration omitted */ };
Description
Attr - This represents one attribute.
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10701
Inherits from: InheritableAttr
Member Variables
- private clang::SwiftAsyncErrorAttr::ConventionKind convention
- private unsigned int handlerParamIdx
Inherited from Attr:
- protected Inherited
- protected IsPackExpansion
- protected Implicit
- protected IsLateParsed
- protected InheritEvenIfAlreadyPresent
Inherited from AttributeCommonInfo:
Method Overview
- public static const char * ConvertConventionKindToStr(clang::SwiftAsyncErrorAttr::ConventionKind Val)
- public static bool ConvertStrToConventionKind(llvm::StringRef Val, clang::SwiftAsyncErrorAttr::ConventionKind & Out)
- public static clang::SwiftAsyncErrorAttr * Create(clang::ASTContext & Ctx, clang::SwiftAsyncErrorAttr::ConventionKind Convention, unsigned int HandlerParamIdx, const clang::AttributeCommonInfo & CommonInfo)
- public static clang::SwiftAsyncErrorAttr * Create(clang::ASTContext & Ctx, clang::SwiftAsyncErrorAttr::ConventionKind Convention, unsigned int HandlerParamIdx, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
- public static clang::SwiftAsyncErrorAttr * CreateImplicit(clang::ASTContext & Ctx, clang::SwiftAsyncErrorAttr::ConventionKind Convention, unsigned int HandlerParamIdx, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
- public static clang::SwiftAsyncErrorAttr * CreateImplicit(clang::ASTContext & Ctx, clang::SwiftAsyncErrorAttr::ConventionKind Convention, unsigned int HandlerParamIdx, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
- public SwiftAsyncErrorAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, clang::SwiftAsyncErrorAttr::ConventionKind Convention, unsigned int HandlerParamIdx)
- public SwiftAsyncErrorAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, clang::SwiftAsyncErrorAttr::ConventionKind Convention)
- public static bool classof(const clang::Attr * A)
- public clang::SwiftAsyncErrorAttr * clone(clang::ASTContext & C) const
- public clang::SwiftAsyncErrorAttr::ConventionKind getConvention() const
- public unsigned int getHandlerParamIdx() 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 const char* ConvertConventionKindToStr(
clang::SwiftAsyncErrorAttr::ConventionKind
Val)
static const char* ConvertConventionKindToStr(
clang::SwiftAsyncErrorAttr::ConventionKind
Val)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10747
Parameters
- clang::SwiftAsyncErrorAttr::ConventionKind Val
¶static bool ConvertStrToConventionKind(
llvm::StringRef Val,
clang::SwiftAsyncErrorAttr::ConventionKind&
Out)
static bool ConvertStrToConventionKind(
llvm::StringRef Val,
clang::SwiftAsyncErrorAttr::ConventionKind&
Out)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10746
Parameters
- llvm::StringRef Val
- clang::SwiftAsyncErrorAttr::ConventionKind& Out
¶static clang::SwiftAsyncErrorAttr* Create(
clang::ASTContext& Ctx,
clang::SwiftAsyncErrorAttr::ConventionKind
Convention,
unsigned int HandlerParamIdx,
const clang::AttributeCommonInfo& CommonInfo)
static clang::SwiftAsyncErrorAttr* Create(
clang::ASTContext& Ctx,
clang::SwiftAsyncErrorAttr::ConventionKind
Convention,
unsigned int HandlerParamIdx,
const clang::AttributeCommonInfo& CommonInfo)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10725
Parameters
- clang::ASTContext& Ctx
- clang::SwiftAsyncErrorAttr::ConventionKind Convention
- unsigned int HandlerParamIdx
- const clang::AttributeCommonInfo& CommonInfo
¶static clang::SwiftAsyncErrorAttr* Create(
clang::ASTContext& Ctx,
clang::SwiftAsyncErrorAttr::ConventionKind
Convention,
unsigned int HandlerParamIdx,
clang::SourceRange Range,
AttributeCommonInfo::Syntax Syntax)
static clang::SwiftAsyncErrorAttr* Create(
clang::ASTContext& Ctx,
clang::SwiftAsyncErrorAttr::ConventionKind
Convention,
unsigned int HandlerParamIdx,
clang::SourceRange Range,
AttributeCommonInfo::Syntax Syntax)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10727
Parameters
- clang::ASTContext& Ctx
- clang::SwiftAsyncErrorAttr::ConventionKind Convention
- unsigned int HandlerParamIdx
- clang::SourceRange Range
- AttributeCommonInfo::Syntax Syntax
¶static clang::SwiftAsyncErrorAttr* CreateImplicit(
clang::ASTContext& Ctx,
clang::SwiftAsyncErrorAttr::ConventionKind
Convention,
unsigned int HandlerParamIdx,
const clang::AttributeCommonInfo& CommonInfo =
{clang::SourceRange{}})
static clang::SwiftAsyncErrorAttr* CreateImplicit(
clang::ASTContext& Ctx,
clang::SwiftAsyncErrorAttr::ConventionKind
Convention,
unsigned int HandlerParamIdx,
const clang::AttributeCommonInfo& CommonInfo =
{clang::SourceRange{}})
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10724
Parameters
- clang::ASTContext& Ctx
- clang::SwiftAsyncErrorAttr::ConventionKind Convention
- unsigned int HandlerParamIdx
- const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}
¶static clang::SwiftAsyncErrorAttr* CreateImplicit(
clang::ASTContext& Ctx,
clang::SwiftAsyncErrorAttr::ConventionKind
Convention,
unsigned int HandlerParamIdx,
clang::SourceRange Range,
AttributeCommonInfo::Syntax Syntax)
static clang::SwiftAsyncErrorAttr* CreateImplicit(
clang::ASTContext& Ctx,
clang::SwiftAsyncErrorAttr::ConventionKind
Convention,
unsigned int HandlerParamIdx,
clang::SourceRange Range,
AttributeCommonInfo::Syntax Syntax)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10726
Parameters
- clang::ASTContext& Ctx
- clang::SwiftAsyncErrorAttr::ConventionKind Convention
- unsigned int HandlerParamIdx
- clang::SourceRange Range
- AttributeCommonInfo::Syntax Syntax
¶SwiftAsyncErrorAttr(
clang::ASTContext& Ctx,
const clang::AttributeCommonInfo& CommonInfo,
clang::SwiftAsyncErrorAttr::ConventionKind
Convention,
unsigned int HandlerParamIdx)
SwiftAsyncErrorAttr(
clang::ASTContext& Ctx,
const clang::AttributeCommonInfo& CommonInfo,
clang::SwiftAsyncErrorAttr::ConventionKind
Convention,
unsigned int HandlerParamIdx)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10730
Parameters
- clang::ASTContext& Ctx
- const clang::AttributeCommonInfo& CommonInfo
- clang::SwiftAsyncErrorAttr::ConventionKind Convention
- unsigned int HandlerParamIdx
¶SwiftAsyncErrorAttr(
clang::ASTContext& Ctx,
const clang::AttributeCommonInfo& CommonInfo,
clang::SwiftAsyncErrorAttr::ConventionKind
Convention)
SwiftAsyncErrorAttr(
clang::ASTContext& Ctx,
const clang::AttributeCommonInfo& CommonInfo,
clang::SwiftAsyncErrorAttr::ConventionKind
Convention)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10734
Parameters
- clang::ASTContext& Ctx
- const clang::AttributeCommonInfo& CommonInfo
- clang::SwiftAsyncErrorAttr::ConventionKind Convention
¶static bool classof(const clang::Attr* A)
static bool classof(const clang::Attr* A)
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10754
Parameters
- const clang::Attr* A
¶clang::SwiftAsyncErrorAttr* clone(
clang::ASTContext& C) const
clang::SwiftAsyncErrorAttr* clone(
clang::ASTContext& C) const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10738
Parameters
¶clang::SwiftAsyncErrorAttr::ConventionKind
getConvention() const
clang::SwiftAsyncErrorAttr::ConventionKind
getConvention() const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10742
¶unsigned int getHandlerParamIdx() const
unsigned int getHandlerParamIdx() const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10748
¶const char* getSpelling() const
const char* getSpelling() const
Declared at: build/tools/clang/include/clang/AST/Attrs.inc:10741
¶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:10739
Parameters
- llvm::raw_ostream& OS
- const clang::PrintingPolicy& Policy