class InitPriorityAttr

Declaration

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

Description

Attr - This represents one attribute.

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

Inherits from: InheritableAttr

Member Variables

private unsigned int priority

Inherited from Attr:

protected Inherited
protected IsPackExpansion
protected Implicit
protected IsLateParsed
protected InheritEvenIfAlreadyPresent

Inherited from AttributeCommonInfo:

protected static SpellingNotCalculated = 15

Method Overview

  • public static clang::InitPriorityAttr * Create(clang::ASTContext & Ctx, unsigned int Priority, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::InitPriorityAttr * Create(clang::ASTContext & Ctx, unsigned int Priority, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::InitPriorityAttr * CreateImplicit(clang::ASTContext & Ctx, unsigned int Priority, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::InitPriorityAttr * CreateImplicit(clang::ASTContext & Ctx, unsigned int Priority, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public InitPriorityAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, unsigned int Priority)
  • public static bool classof(const clang::Attr * A)
  • public clang::InitPriorityAttr * clone(clang::ASTContext & C) const
  • public unsigned int getPriority() 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 clang::InitPriorityAttr* Create(
    clang::ASTContext& Ctx,
    unsigned int Priority,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

clang::ASTContext& Ctx
unsigned int Priority
const clang::AttributeCommonInfo& CommonInfo

static clang::InitPriorityAttr* Create(
    clang::ASTContext& Ctx,
    unsigned int Priority,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
unsigned int Priority
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

static clang::InitPriorityAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    unsigned int Priority,
    const clang::AttributeCommonInfo& CommonInfo =
        {clang::SourceRange{}})

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

Parameters

clang::ASTContext& Ctx
unsigned int Priority
const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}

static clang::InitPriorityAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    unsigned int Priority,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
unsigned int Priority
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

InitPriorityAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    unsigned int Priority)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
unsigned int Priority

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

unsigned int getPriority() const

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

const char* getSpelling() const

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

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

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

Parameters

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