class FinalAttr

Declaration

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

Description

Attr - This represents one attribute.

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

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:4236

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

clang::FinalAttr::Spelling getSemanticSpelling()
    const

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

const char* getSpelling() const

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

bool isSpelledAsSealed() const

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

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

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

Parameters

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