class PatchableFunctionEntryAttr

Declaration

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

Description

Attr - This represents one attribute.

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

Inherits from: InheritableAttr

Member Variables

private unsigned int count
private int offset
public static const int DefaultOffset = 0

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

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

Parameters

clang::ASTContext& Ctx
unsigned int Count
int Offset
const clang::AttributeCommonInfo& CommonInfo

static clang::PatchableFunctionEntryAttr* Create(
    clang::ASTContext& Ctx,
    unsigned int Count,
    int Offset,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
unsigned int Count
int Offset
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

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

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

Parameters

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

static clang::PatchableFunctionEntryAttr*
CreateImplicit(clang::ASTContext& Ctx,
               unsigned int Count,
               int Offset,
               clang::SourceRange Range,
               AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
unsigned int Count
int Offset
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

PatchableFunctionEntryAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    unsigned int Count,
    int Offset)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
unsigned int Count
int Offset

PatchableFunctionEntryAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    unsigned int Count)

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

Parameters

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

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

unsigned int getCount() const

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

int getOffset() const

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

const char* getSpelling() const

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

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

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

Parameters

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