class PassObjectSizeAttr

Declaration

class PassObjectSizeAttr : public InheritableParamAttr { /* full declaration omitted */ };

Description

Attr - This represents one attribute.

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

Inherits from: InheritableParamAttr

Member Variables

private int type

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::PassObjectSizeAttr * Create(clang::ASTContext & Ctx, int Type, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::PassObjectSizeAttr * Create(clang::ASTContext & Ctx, int Type, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax, PassObjectSizeAttr::Spelling S = static_cast<clang::PassObjectSizeAttr::Spelling>(SpellingNotCalculated))
  • public static clang::PassObjectSizeAttr * CreateImplicit(clang::ASTContext & Ctx, int Type, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::PassObjectSizeAttr * CreateImplicit(clang::ASTContext & Ctx, int Type, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax, PassObjectSizeAttr::Spelling S = static_cast<clang::PassObjectSizeAttr::Spelling>(SpellingNotCalculated))
  • public PassObjectSizeAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, int Type)
  • public static bool classof(const clang::Attr * A)
  • public clang::PassObjectSizeAttr * clone(clang::ASTContext & C) const
  • public clang::PassObjectSizeAttr::Spelling getSemanticSpelling() const
  • public const char * getSpelling() const
  • public int getType() const
  • public bool isDynamic() const
  • public void printPretty(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const

Inherited from InheritableParamAttr:

Inherited from InheritableAttr:

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

static clang::PassObjectSizeAttr* Create(
    clang::ASTContext& Ctx,
    int Type,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

PassObjectSizeAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    int Type)

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

Parameters

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

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

clang::PassObjectSizeAttr::Spelling
getSemanticSpelling() const

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

const char* getSpelling() const

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

int getType() const

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

bool isDynamic() const

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

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

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

Parameters

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