class MSInheritanceAttr

Declaration

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

Description

Attr - This represents one attribute.

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

Inherits from: InheritableAttr

Member Variables

private bool bestCase
public static const bool DefaultBestCase = true

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

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

Parameters

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

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

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

Parameters

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

static clang::MSInheritanceAttr* Create(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

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

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

Parameters

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

MSInheritanceAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    bool BestCase)

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

Parameters

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

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

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

bool getBestCase() const

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

clang::MSInheritanceModel getInheritanceModel()
    const

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

clang::MSInheritanceAttr::Spelling
getSemanticSpelling() const

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

const char* getSpelling() const

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

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

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

Parameters

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