class FunctionReturnThunksAttr

Declaration

class FunctionReturnThunksAttr : public InheritableAttr { /* full declaration omitted */ };

Description

Attr - This represents one attribute.

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:4383

Inherits from: InheritableAttr

Member Variables

private clang::FunctionReturnThunksAttr::Kind thunkType

Inherited from Attr:

protected Inherited
protected IsPackExpansion
protected Implicit
protected IsLateParsed
protected InheritEvenIfAlreadyPresent

Inherited from AttributeCommonInfo:

protected static SpellingNotCalculated = 15

Method Overview

  • public static const char * ConvertKindToStr(clang::FunctionReturnThunksAttr::Kind Val)
  • public static bool ConvertStrToKind(llvm::StringRef Val, clang::FunctionReturnThunksAttr::Kind & Out)
  • public static clang::FunctionReturnThunksAttr * Create(clang::ASTContext & Ctx, clang::FunctionReturnThunksAttr::Kind ThunkType, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::FunctionReturnThunksAttr * Create(clang::ASTContext & Ctx, clang::FunctionReturnThunksAttr::Kind ThunkType, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::FunctionReturnThunksAttr * CreateImplicit(clang::ASTContext & Ctx, clang::FunctionReturnThunksAttr::Kind ThunkType, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::FunctionReturnThunksAttr * CreateImplicit(clang::ASTContext & Ctx, clang::FunctionReturnThunksAttr::Kind ThunkType, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public FunctionReturnThunksAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, clang::FunctionReturnThunksAttr::Kind ThunkType)
  • public static bool classof(const clang::Attr * A)
  • public clang::FunctionReturnThunksAttr * clone(clang::ASTContext & C) const
  • public const char * getSpelling() const
  • public clang::FunctionReturnThunksAttr::Kind getThunkType() const
  • public void printPretty(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const

Inherited from InheritableAttr:

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

static const char* ConvertKindToStr(
    clang::FunctionReturnThunksAttr::Kind Val)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:4421

Parameters

clang::FunctionReturnThunksAttr::Kind Val

static bool ConvertStrToKind(
    llvm::StringRef Val,
    clang::FunctionReturnThunksAttr::Kind& Out)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:4420

Parameters

llvm::StringRef Val
clang::FunctionReturnThunksAttr::Kind& Out

static clang::FunctionReturnThunksAttr* Create(
    clang::ASTContext& Ctx,
    clang::FunctionReturnThunksAttr::Kind
        ThunkType,
    const clang::AttributeCommonInfo& CommonInfo)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:4403

Parameters

clang::ASTContext& Ctx
clang::FunctionReturnThunksAttr::Kind ThunkType
const clang::AttributeCommonInfo& CommonInfo

static clang::FunctionReturnThunksAttr* Create(
    clang::ASTContext& Ctx,
    clang::FunctionReturnThunksAttr::Kind
        ThunkType,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:4405

Parameters

clang::ASTContext& Ctx
clang::FunctionReturnThunksAttr::Kind ThunkType
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

static clang::FunctionReturnThunksAttr*
CreateImplicit(
    clang::ASTContext& Ctx,
    clang::FunctionReturnThunksAttr::Kind
        ThunkType,
    const clang::AttributeCommonInfo& CommonInfo =
        {clang::SourceRange{}})

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:4402

Parameters

clang::ASTContext& Ctx
clang::FunctionReturnThunksAttr::Kind ThunkType
const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}

static clang::FunctionReturnThunksAttr*
CreateImplicit(
    clang::ASTContext& Ctx,
    clang::FunctionReturnThunksAttr::Kind
        ThunkType,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:4404

Parameters

clang::ASTContext& Ctx
clang::FunctionReturnThunksAttr::Kind ThunkType
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

FunctionReturnThunksAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    clang::FunctionReturnThunksAttr::Kind
        ThunkType)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:4408

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
clang::FunctionReturnThunksAttr::Kind ThunkType

static bool classof(const clang::Attr* A)

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:4424

Parameters

const clang::Attr* A

clang::FunctionReturnThunksAttr* clone(
    clang::ASTContext& C) const

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:4412

Parameters

clang::ASTContext& C

const char* getSpelling() const

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:4415

clang::FunctionReturnThunksAttr::Kind
getThunkType() const

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:4416

void printPretty(
    llvm::raw_ostream& OS,
    const clang::PrintingPolicy& Policy) const

Declared at: build/tools/clang/include/clang/AST/Attrs.inc:4413

Parameters

llvm::raw_ostream& OS
const clang::PrintingPolicy& Policy