class VecTypeHintAttr

Declaration

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

Description

Attr - This represents one attribute.

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

Inherits from: InheritableAttr

Member Variables

private clang::TypeSourceInfo* typeHint

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::VecTypeHintAttr * Create(clang::ASTContext & Ctx, clang::TypeSourceInfo * TypeHint, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::VecTypeHintAttr * Create(clang::ASTContext & Ctx, clang::TypeSourceInfo * TypeHint, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::VecTypeHintAttr * CreateImplicit(clang::ASTContext & Ctx, clang::TypeSourceInfo * TypeHint, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::VecTypeHintAttr * CreateImplicit(clang::ASTContext & Ctx, clang::TypeSourceInfo * TypeHint, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public VecTypeHintAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, clang::TypeSourceInfo * TypeHint)
  • public static bool classof(const clang::Attr * A)
  • public clang::VecTypeHintAttr * clone(clang::ASTContext & C) const
  • public const char * getSpelling() const
  • public clang::QualType getTypeHint() const
  • public clang::TypeSourceInfo * getTypeHintLoc() 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::VecTypeHintAttr* Create(
    clang::ASTContext& Ctx,
    clang::TypeSourceInfo* TypeHint,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

clang::ASTContext& Ctx
clang::TypeSourceInfo* TypeHint
const clang::AttributeCommonInfo& CommonInfo

static clang::VecTypeHintAttr* Create(
    clang::ASTContext& Ctx,
    clang::TypeSourceInfo* TypeHint,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
clang::TypeSourceInfo* TypeHint
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

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

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

Parameters

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

static clang::VecTypeHintAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    clang::TypeSourceInfo* TypeHint,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
clang::TypeSourceInfo* TypeHint
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

VecTypeHintAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    clang::TypeSourceInfo* TypeHint)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
clang::TypeSourceInfo* TypeHint

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

const char* getSpelling() const

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

clang::QualType getTypeHint() const

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

clang::TypeSourceInfo* getTypeHintLoc() const

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

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

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

Parameters

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