clang 20.0.0git
Functions
HLSLExternalSemaSource.cpp File Reference
#include "clang/Sema/HLSLExternalSemaSource.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Attr.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/Expr.h"
#include "clang/AST/Type.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Sema/Lookup.h"
#include "clang/Sema/Sema.h"
#include "clang/Sema/SemaHLSL.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Frontend/HLSL/HLSLResource.h"
#include "llvm/Support/ErrorHandling.h"
#include <functional>

Go to the source code of this file.

Functions

static FunctionDecllookupBuiltinFunction (Sema &S, StringRef Name)
 
static BuiltinTypeDeclBuilder setupBufferType (CXXRecordDecl *Decl, Sema &S, ResourceClass RC, ResourceKind RK, bool IsROV, bool RawBuffer)
 Set up common members and attributes for buffer types.
 
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

◆ constructBufferConceptDecl()

static ConceptDecl * constructBufferConceptDecl ( Sema S,
NamespaceDecl NSD,
bool  isTypedBuffer 
)
static

◆ constructStructuredBufferConstraintExpr()

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

◆ constructTypedBufferConstraintExpr()

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

◆ lookupBuiltinFunction()

static FunctionDecl * lookupBuiltinFunction ( Sema S,
StringRef  Name 
)
static

◆ setupBufferType()

static BuiltinTypeDeclBuilder setupBufferType ( CXXRecordDecl Decl,
Sema S,
ResourceClass  RC,
ResourceKind  RK,
bool  IsROV,
bool  RawBuffer 
)
static

Set up common members and attributes for buffer types.

Definition at line 859 of file HLSLExternalSemaSource.cpp.