class TestTypestateAttr

Declaration

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

Description

Attr - This represents one attribute.

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

Inherits from: InheritableAttr

Member Variables

private clang::TestTypestateAttr::ConsumedState testState

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

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

Parameters

clang::TestTypestateAttr::ConsumedState Val

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

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

Parameters

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

static clang::TestTypestateAttr* Create(
    clang::ASTContext& Ctx,
    clang::TestTypestateAttr::ConsumedState
        TestState,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

clang::ASTContext& Ctx
clang::TestTypestateAttr::ConsumedState TestState
const clang::AttributeCommonInfo& CommonInfo

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

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

Parameters

clang::ASTContext& Ctx
clang::TestTypestateAttr::ConsumedState TestState
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

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

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

Parameters

clang::ASTContext& Ctx
clang::TestTypestateAttr::ConsumedState TestState
const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}

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

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

Parameters

clang::ASTContext& Ctx
clang::TestTypestateAttr::ConsumedState TestState
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

TestTypestateAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    clang::TestTypestateAttr::ConsumedState
        TestState)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
clang::TestTypestateAttr::ConsumedState TestState

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

const char* getSpelling() const

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

clang::TestTypestateAttr::ConsumedState
getTestState() const

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

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

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

Parameters

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