class TLSModelAttr

Declaration

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

Description

Attr - This represents one attribute.

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

Inherits from: InheritableAttr

Member Variables

private unsigned int modelLength
private char* model

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::TLSModelAttr * Create(clang::ASTContext & Ctx, llvm::StringRef Model, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::TLSModelAttr * Create(clang::ASTContext & Ctx, llvm::StringRef Model, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::TLSModelAttr * CreateImplicit(clang::ASTContext & Ctx, llvm::StringRef Model, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::TLSModelAttr * CreateImplicit(clang::ASTContext & Ctx, llvm::StringRef Model, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public TLSModelAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, llvm::StringRef Model)
  • public static bool classof(const clang::Attr * A)
  • public clang::TLSModelAttr * clone(clang::ASTContext & C) const
  • public llvm::StringRef getModel() const
  • public unsigned int getModelLength() const
  • public const char * getSpelling() const
  • public void printPretty(llvm::raw_ostream & OS, const clang::PrintingPolicy & Policy) const
  • public void setModel(clang::ASTContext & C, llvm::StringRef S)

Inherited from InheritableAttr:

Inherited from Attr:

Inherited from AttributeCommonInfo:

Methods

static clang::TLSModelAttr* Create(
    clang::ASTContext& Ctx,
    llvm::StringRef Model,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

clang::ASTContext& Ctx
llvm::StringRef Model
const clang::AttributeCommonInfo& CommonInfo

static clang::TLSModelAttr* Create(
    clang::ASTContext& Ctx,
    llvm::StringRef Model,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
llvm::StringRef Model
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

static clang::TLSModelAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    llvm::StringRef Model,
    const clang::AttributeCommonInfo& CommonInfo =
        {clang::SourceRange{}})

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

Parameters

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

static clang::TLSModelAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    llvm::StringRef Model,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
llvm::StringRef Model
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

TLSModelAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    llvm::StringRef Model)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
llvm::StringRef Model

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

llvm::StringRef getModel() const

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

unsigned int getModelLength() const

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

const char* getSpelling() const

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

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

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

Parameters

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

void setModel(clang::ASTContext& C,
              llvm::StringRef S)

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

Parameters

clang::ASTContext& C
llvm::StringRef S