clang 20.0.0git
Public Member Functions | Public Attributes | List of all members
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 45 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 51 of file SemaHLSL.h.

Member Function Documentation

◆ setBindingAttribute()

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

Definition at line 56 of file SemaHLSL.h.

References BindType, and clang::NotAssigned.

Member Data Documentation

◆ Attr

const HLSLResourceBindingAttr* clang::DeclBindingInfo::Attr

Definition at line 48 of file SemaHLSL.h.

◆ BindType

BindingType clang::DeclBindingInfo::BindType

Definition at line 49 of file SemaHLSL.h.

Referenced by setBindingAttribute().

◆ Decl

const VarDecl* clang::DeclBindingInfo::Decl

Definition at line 46 of file SemaHLSL.h.

◆ ResClass

ResourceClass clang::DeclBindingInfo::ResClass

Definition at line 47 of file SemaHLSL.h.


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