clang 23.0.0git
HLSLExternalSemaSource.cpp File Reference

Go to the source code of this file.

Classes

class  BuiltinTypeDeclBuilder

Functions

static BuiltinTypeDeclBuilder setupBufferType (CXXRecordDecl *Decl, Sema &S, ResourceClass RC, bool IsROV, bool RawBuffer, bool HasCounter)
 Set up common members and attributes for buffer types.
static BuiltinTypeDeclBuilder setupSamplerType (CXXRecordDecl *Decl, Sema &S)
 Set up common members and attributes for sampler types.
static BuiltinTypeDeclBuilder setupTextureType (CXXRecordDecl *Decl, Sema &S, ResourceClass RC, bool IsROV, ResourceDimension Dim)
 Set up common members and attributes for texture types.
static ClassTemplatePartialSpecializationDecladdVectorTexturePartialSpecialization (Sema &S, NamespaceDecl *HLSLNamespace, ClassTemplateDecl *TextureTemplate)
static ExprconstructTypedBufferConstraintExpr (Sema &S, SourceLocation NameLoc, TemplateTypeParmDecl *T)
static ExprconstructStructuredBufferConstraintExpr (Sema &S, SourceLocation NameLoc, TemplateTypeParmDecl *T)
static ConceptDeclconstructBufferConceptDecl (Sema &S, NamespaceDecl *NSD, bool isTypedBuffer)

Function Documentation

◆ addVectorTexturePartialSpecialization()

◆ constructBufferConceptDecl()

◆ constructStructuredBufferConstraintExpr()

◆ constructTypedBufferConstraintExpr()

Expr * constructTypedBufferConstraintExpr ( Sema & S,
SourceLocation NameLoc,
TemplateTypeParmDecl * T )
static

◆ setupBufferType()

◆ setupSamplerType()

◆ setupTextureType()