class ParamTypestateAttr

Declaration

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

Description

Attr - This represents one attribute.

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

Inherits from: InheritableAttr

Member Variables

private clang::ParamTypestateAttr::ConsumedState paramState

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 * ConvertConsumedStateToStr(clang::ParamTypestateAttr::ConsumedState Val)
  • public static bool ConvertStrToConsumedState(llvm::StringRef Val, clang::ParamTypestateAttr::ConsumedState & Out)
  • public static clang::ParamTypestateAttr * Create(clang::ASTContext & Ctx, clang::ParamTypestateAttr::ConsumedState ParamState, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::ParamTypestateAttr * Create(clang::ASTContext & Ctx, clang::ParamTypestateAttr::ConsumedState ParamState, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::ParamTypestateAttr * CreateImplicit(clang::ASTContext & Ctx, clang::ParamTypestateAttr::ConsumedState ParamState, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::ParamTypestateAttr * CreateImplicit(clang::ASTContext & Ctx, clang::ParamTypestateAttr::ConsumedState ParamState, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public ParamTypestateAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, clang::ParamTypestateAttr::ConsumedState ParamState)
  • public static bool classof(const clang::Attr * A)
  • public clang::ParamTypestateAttr * clone(clang::ASTContext & C) const
  • public clang::ParamTypestateAttr::ConsumedState getParamState() const
  • public const char * getSpelling() 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* ConvertConsumedStateToStr(
    clang::ParamTypestateAttr::ConsumedState Val)

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

Parameters

clang::ParamTypestateAttr::ConsumedState Val

static bool ConvertStrToConsumedState(
    llvm::StringRef Val,
    clang::ParamTypestateAttr::ConsumedState& Out)

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

Parameters

llvm::StringRef Val
clang::ParamTypestateAttr::ConsumedState& Out

static clang::ParamTypestateAttr* Create(
    clang::ASTContext& Ctx,
    clang::ParamTypestateAttr::ConsumedState
        ParamState,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

clang::ASTContext& Ctx
clang::ParamTypestateAttr::ConsumedState ParamState
const clang::AttributeCommonInfo& CommonInfo

static clang::ParamTypestateAttr* Create(
    clang::ASTContext& Ctx,
    clang::ParamTypestateAttr::ConsumedState
        ParamState,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
clang::ParamTypestateAttr::ConsumedState ParamState
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

static clang::ParamTypestateAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    clang::ParamTypestateAttr::ConsumedState
        ParamState,
    const clang::AttributeCommonInfo& CommonInfo =
        {clang::SourceRange{}})

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

Parameters

clang::ASTContext& Ctx
clang::ParamTypestateAttr::ConsumedState ParamState
const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}

static clang::ParamTypestateAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    clang::ParamTypestateAttr::ConsumedState
        ParamState,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
clang::ParamTypestateAttr::ConsumedState ParamState
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

ParamTypestateAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    clang::ParamTypestateAttr::ConsumedState
        ParamState)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
clang::ParamTypestateAttr::ConsumedState ParamState

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

clang::ParamTypestateAttr::ConsumedState
getParamState() const

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

const char* getSpelling() const

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

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

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

Parameters

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