clang 22.0.0git
clang::DeclBindingInfo Struct Reference

#include "clang/Sema/SemaHLSL.h"

Public Member Functions

 DeclBindingInfo (const VarDecl *Decl, ResourceClass ResClass, BindingType BindType=BindingType::NotAssigned, const HLSLResourceBindingAttr *Attr=nullptr)
void setBindingAttribute (HLSLResourceBindingAttr *A, BindingType BT)

Public Attributes

const VarDeclDecl
ResourceClass ResClass
const HLSLResourceBindingAttr * Attr
BindingType BindType

Detailed Description

Definition at line 67 of file SemaHLSL.h.

Constructor & Destructor Documentation

◆ DeclBindingInfo()

clang::DeclBindingInfo::DeclBindingInfo ( const VarDecl * Decl,
ResourceClass ResClass,
BindingType BindType = BindingType::NotAssigned,
const HLSLResourceBindingAttr * Attr = nullptr )
inline

Definition at line 73 of file SemaHLSL.h.

References Attr, BindType, Decl, clang::NotAssigned, and ResClass.

Member Function Documentation

◆ setBindingAttribute()

void clang::DeclBindingInfo::setBindingAttribute ( HLSLResourceBindingAttr * A,
BindingType BT )
inline

Definition at line 78 of file SemaHLSL.h.

References Attr, BindType, and clang::NotAssigned.

Member Data Documentation

◆ Attr

const HLSLResourceBindingAttr* clang::DeclBindingInfo::Attr

Definition at line 70 of file SemaHLSL.h.

Referenced by DeclBindingInfo(), and setBindingAttribute().

◆ BindType

BindingType clang::DeclBindingInfo::BindType

Definition at line 71 of file SemaHLSL.h.

Referenced by DeclBindingInfo(), and setBindingAttribute().

◆ Decl

const VarDecl* clang::DeclBindingInfo::Decl

Definition at line 68 of file SemaHLSL.h.

Referenced by DeclBindingInfo().

◆ ResClass

ResourceClass clang::DeclBindingInfo::ResClass

Definition at line 69 of file SemaHLSL.h.

Referenced by DeclBindingInfo().


The documentation for this struct was generated from the following file: