class DestructorAttr

Declaration

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

Description

Attr - This represents one attribute.

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

Inherits from: InheritableAttr

Member Variables

private int priority
public static const int DefaultPriority = 65535

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

int getPriority() const

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

const char* getSpelling() const

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

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

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

Parameters

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