class TypeTagForDatatypeAttr

Declaration

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

Description

Attr - This represents one attribute.

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

Inherits from: InheritableAttr

Member Variables

private clang::IdentifierInfo* argumentKind
private clang::TypeSourceInfo* matchingCType
private bool layoutCompatible
private bool mustBeNull

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::TypeTagForDatatypeAttr * Create(clang::ASTContext & Ctx, clang::IdentifierInfo * ArgumentKind, clang::TypeSourceInfo * MatchingCType, bool LayoutCompatible, bool MustBeNull, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::TypeTagForDatatypeAttr * Create(clang::ASTContext & Ctx, clang::IdentifierInfo * ArgumentKind, clang::TypeSourceInfo * MatchingCType, bool LayoutCompatible, bool MustBeNull, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::TypeTagForDatatypeAttr * CreateImplicit(clang::ASTContext & Ctx, clang::IdentifierInfo * ArgumentKind, clang::TypeSourceInfo * MatchingCType, bool LayoutCompatible, bool MustBeNull, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::TypeTagForDatatypeAttr * CreateImplicit(clang::ASTContext & Ctx, clang::IdentifierInfo * ArgumentKind, clang::TypeSourceInfo * MatchingCType, bool LayoutCompatible, bool MustBeNull, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public TypeTagForDatatypeAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, clang::IdentifierInfo * ArgumentKind, clang::TypeSourceInfo * MatchingCType, bool LayoutCompatible, bool MustBeNull)
  • public static bool classof(const clang::Attr * A)
  • public clang::TypeTagForDatatypeAttr * clone(clang::ASTContext & C) const
  • public clang::IdentifierInfo * getArgumentKind() const
  • public bool getLayoutCompatible() const
  • public clang::QualType getMatchingCType() const
  • public clang::TypeSourceInfo * getMatchingCTypeLoc() const
  • public bool getMustBeNull() 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::TypeTagForDatatypeAttr* Create(
    clang::ASTContext& Ctx,
    clang::IdentifierInfo* ArgumentKind,
    clang::TypeSourceInfo* MatchingCType,
    bool LayoutCompatible,
    bool MustBeNull,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

clang::ASTContext& Ctx
clang::IdentifierInfo* ArgumentKind
clang::TypeSourceInfo* MatchingCType
bool LayoutCompatible
bool MustBeNull
const clang::AttributeCommonInfo& CommonInfo

static clang::TypeTagForDatatypeAttr* Create(
    clang::ASTContext& Ctx,
    clang::IdentifierInfo* ArgumentKind,
    clang::TypeSourceInfo* MatchingCType,
    bool LayoutCompatible,
    bool MustBeNull,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
clang::IdentifierInfo* ArgumentKind
clang::TypeSourceInfo* MatchingCType
bool LayoutCompatible
bool MustBeNull
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

static clang::TypeTagForDatatypeAttr*
CreateImplicit(
    clang::ASTContext& Ctx,
    clang::IdentifierInfo* ArgumentKind,
    clang::TypeSourceInfo* MatchingCType,
    bool LayoutCompatible,
    bool MustBeNull,
    const clang::AttributeCommonInfo& CommonInfo =
        {clang::SourceRange{}})

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

Parameters

clang::ASTContext& Ctx
clang::IdentifierInfo* ArgumentKind
clang::TypeSourceInfo* MatchingCType
bool LayoutCompatible
bool MustBeNull
const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}

static clang::TypeTagForDatatypeAttr*
CreateImplicit(
    clang::ASTContext& Ctx,
    clang::IdentifierInfo* ArgumentKind,
    clang::TypeSourceInfo* MatchingCType,
    bool LayoutCompatible,
    bool MustBeNull,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
clang::IdentifierInfo* ArgumentKind
clang::TypeSourceInfo* MatchingCType
bool LayoutCompatible
bool MustBeNull
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

TypeTagForDatatypeAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    clang::IdentifierInfo* ArgumentKind,
    clang::TypeSourceInfo* MatchingCType,
    bool LayoutCompatible,
    bool MustBeNull)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
clang::IdentifierInfo* ArgumentKind
clang::TypeSourceInfo* MatchingCType
bool LayoutCompatible
bool MustBeNull

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

clang::IdentifierInfo* getArgumentKind() const

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

bool getLayoutCompatible() const

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

clang::QualType getMatchingCType() const

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

clang::TypeSourceInfo* getMatchingCTypeLoc() const

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

bool getMustBeNull() const

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

const char* getSpelling() const

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

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

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

Parameters

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