clang 19.0.0git
Public Member Functions | List of all members
clang::SemaHLSL Class Reference

#include "clang/Sema/SemaHLSL.h"

Inheritance diagram for clang::SemaHLSL:
Inheritance graph
[legend]

Public Member Functions

 SemaHLSL (Sema &S)
 
DeclActOnStartBuffer (Scope *BufferScope, bool CBuffer, SourceLocation KwLoc, IdentifierInfo *Ident, SourceLocation IdentLoc, SourceLocation LBrace)
 
void ActOnFinishBuffer (Decl *Dcl, SourceLocation RBrace)
 
HLSLNumThreadsAttr * mergeNumThreadsAttr (Decl *D, const AttributeCommonInfo &AL, int X, int Y, int Z)
 
HLSLShaderAttr * mergeShaderAttr (Decl *D, const AttributeCommonInfo &AL, HLSLShaderAttr::ShaderType ShaderType)
 
HLSLParamModifierAttr * mergeParamModifierAttr (Decl *D, const AttributeCommonInfo &AL, HLSLParamModifierAttr::Spelling Spelling)
 
void ActOnTopLevelFunction (FunctionDecl *FD)
 
void CheckEntryPoint (FunctionDecl *FD)
 
void CheckSemanticAnnotation (FunctionDecl *EntryPoint, const Decl *Param, const HLSLAnnotationAttr *AnnotationAttr)
 
void DiagnoseAttrStageMismatch (const Attr *A, HLSLShaderAttr::ShaderType Stage, std::initializer_list< HLSLShaderAttr::ShaderType > AllowedStages)
 
- Public Member Functions inherited from clang::SemaBase
 SemaBase (Sema &S)
 
ASTContextgetASTContext () const
 
DiagnosticsEnginegetDiagnostics () const
 
const LangOptionsgetLangOpts () const
 
SemaDiagnosticBuilder Diag (SourceLocation Loc, unsigned DiagID, bool DeferHint=false)
 Emit a diagnostic.
 
SemaDiagnosticBuilder Diag (SourceLocation Loc, const PartialDiagnostic &PD, bool DeferHint=false)
 Emit a partial diagnostic.
 

Additional Inherited Members

- Public Attributes inherited from clang::SemaBase
SemaSemaRef
 

Detailed Description

Definition at line 29 of file SemaHLSL.h.

Constructor & Destructor Documentation

◆ SemaHLSL()

SemaHLSL::SemaHLSL ( Sema S)

Definition at line 25 of file SemaHLSL.cpp.

Member Function Documentation

◆ ActOnFinishBuffer()

void SemaHLSL::ActOnFinishBuffer ( Decl Dcl,
SourceLocation  RBrace 
)

Definition at line 42 of file SemaHLSL.cpp.

References clang::Sema::PopDeclContext(), and clang::SemaBase::SemaRef.

◆ ActOnStartBuffer()

Decl * SemaHLSL::ActOnStartBuffer ( Scope BufferScope,
bool  CBuffer,
SourceLocation  KwLoc,
IdentifierInfo Ident,
SourceLocation  IdentLoc,
SourceLocation  LBrace 
)

◆ ActOnTopLevelFunction()

void SemaHLSL::ActOnTopLevelFunction ( FunctionDecl FD)

◆ CheckEntryPoint()

void SemaHLSL::CheckEntryPoint ( FunctionDecl FD)

◆ CheckSemanticAnnotation()

void SemaHLSL::CheckSemanticAnnotation ( FunctionDecl EntryPoint,
const Decl Param,
const HLSLAnnotationAttr AnnotationAttr 
)

◆ DiagnoseAttrStageMismatch()

void SemaHLSL::DiagnoseAttrStageMismatch ( const Attr A,
HLSLShaderAttr::ShaderType  Stage,
std::initializer_list< HLSLShaderAttr::ShaderType >  AllowedStages 
)

◆ mergeNumThreadsAttr()

HLSLNumThreadsAttr * SemaHLSL::mergeNumThreadsAttr ( Decl D,
const AttributeCommonInfo AL,
int  X,
int  Y,
int  Z 
)

◆ mergeParamModifierAttr()

HLSLParamModifierAttr * SemaHLSL::mergeParamModifierAttr ( Decl D,
const AttributeCommonInfo AL,
HLSLParamModifierAttr::Spelling  Spelling 
)

◆ mergeShaderAttr()

HLSLShaderAttr * SemaHLSL::mergeShaderAttr ( Decl D,
const AttributeCommonInfo AL,
HLSLShaderAttr::ShaderType  ShaderType 
)

The documentation for this class was generated from the following files: