class HLSLNumThreadsAttr

Declaration

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

Description

Attr - This represents one attribute.

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

Inherits from: InheritableAttr

Member Variables

private int x
private int y
private int z

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::HLSLNumThreadsAttr * Create(clang::ASTContext & Ctx, int X, int Y, int Z, const clang::AttributeCommonInfo & CommonInfo)
  • public static clang::HLSLNumThreadsAttr * Create(clang::ASTContext & Ctx, int X, int Y, int Z, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public static clang::HLSLNumThreadsAttr * CreateImplicit(clang::ASTContext & Ctx, int X, int Y, int Z, const clang::AttributeCommonInfo & CommonInfo = {clang::SourceRange{}})
  • public static clang::HLSLNumThreadsAttr * CreateImplicit(clang::ASTContext & Ctx, int X, int Y, int Z, clang::SourceRange Range, AttributeCommonInfo::Syntax Syntax)
  • public HLSLNumThreadsAttr(clang::ASTContext & Ctx, const clang::AttributeCommonInfo & CommonInfo, int X, int Y, int Z)
  • public static bool classof(const clang::Attr * A)
  • public clang::HLSLNumThreadsAttr * clone(clang::ASTContext & C) const
  • public const char * getSpelling() const
  • public int getX() const
  • public int getY() const
  • public int getZ() 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::HLSLNumThreadsAttr* Create(
    clang::ASTContext& Ctx,
    int X,
    int Y,
    int Z,
    const clang::AttributeCommonInfo& CommonInfo)

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

Parameters

clang::ASTContext& Ctx
int X
int Y
int Z
const clang::AttributeCommonInfo& CommonInfo

static clang::HLSLNumThreadsAttr* Create(
    clang::ASTContext& Ctx,
    int X,
    int Y,
    int Z,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
int X
int Y
int Z
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

static clang::HLSLNumThreadsAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    int X,
    int Y,
    int Z,
    const clang::AttributeCommonInfo& CommonInfo =
        {clang::SourceRange{}})

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

Parameters

clang::ASTContext& Ctx
int X
int Y
int Z
const clang::AttributeCommonInfo& CommonInfo = {clang::SourceRange{}}

static clang::HLSLNumThreadsAttr* CreateImplicit(
    clang::ASTContext& Ctx,
    int X,
    int Y,
    int Z,
    clang::SourceRange Range,
    AttributeCommonInfo::Syntax Syntax)

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

Parameters

clang::ASTContext& Ctx
int X
int Y
int Z
clang::SourceRange Range
AttributeCommonInfo::Syntax Syntax

HLSLNumThreadsAttr(
    clang::ASTContext& Ctx,
    const clang::AttributeCommonInfo& CommonInfo,
    int X,
    int Y,
    int Z)

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

Parameters

clang::ASTContext& Ctx
const clang::AttributeCommonInfo& CommonInfo
int X
int Y
int Z

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

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

Parameters

const clang::Attr* A

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

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

Parameters

clang::ASTContext& C

const char* getSpelling() const

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

int getX() const

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

int getY() const

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

int getZ() const

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

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

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

Parameters

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