class XRayInstrumentAttr

Declaration

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

Description

Attr - This represents one attribute.

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

Inherits from: InheritableAttr

Member Variables

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::XRayInstrumentAttr * Create(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::XRayInstrumentAttr * Create(clang::ASTContext & Ctx, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax, XRayInstrumentAttr::Spelling S = static_cast<clang::XRayInstrumentAttr::Spelling>(SpellingNotCalculated))
  • public static clang::XRayInstrumentAttr * CreateImplicit(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::XRayInstrumentAttr * CreateImplicit(clang::ASTContext & Ctx, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax, XRayInstrumentAttr::Spelling S = static_cast<clang::XRayInstrumentAttr::Spelling>(SpellingNotCalculated))
  • public XRayInstrumentAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo)
  • public bool alwaysXRayInstrument() const
  • public static bool classof(const clang::Attr * A)
  • public clang::XRayInstrumentAttr * clone(clang::ASTContext & C) const
  • public clang::XRayInstrumentAttr::Spelling getSemanticSpelling() const
  • public const char * getSpelling() const
  • public bool neverXRayInstrument() 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::XRayInstrumentAttr* Create(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo

static clang::XRayInstrumentAttr* Create(
    clang::ASTContext& Ctx,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax,
    XRayInstrumentAttr::Spelling S = static_cast<
        clang::XRayInstrumentAttr::Spelling>(
        SpellingNotCalculated))

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

Parameters

clang::ASTContext& Ctx
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax
XRayInstrumentAttr::Spelling S = static_cast<clang::XRayInstrumentAttr::Spelling>(SpellingNotCalculated)

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

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

Parameters

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

static clang::XRayInstrumentAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax,
    XRayInstrumentAttr::Spelling S = static_cast<
        clang::XRayInstrumentAttr::Spelling>(
        SpellingNotCalculated))

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

Parameters

clang::ASTContext& Ctx
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax
XRayInstrumentAttr::Spelling S = static_cast<clang::XRayInstrumentAttr::Spelling>(SpellingNotCalculated)

XRayInstrumentAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo

bool alwaysXRayInstrument() const

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

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

clang::XRayInstrumentAttr::Spelling
getSemanticSpelling() const

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

const char* getSpelling() const

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

bool neverXRayInstrument() const

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

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

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

Parameters

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