|
clang 23.0.0git
|
#include "clang/Sema/HLSLExternalSemaSource.h"#include "HLSLBuiltinTypeDeclBuilder.h"#include "clang/AST/ASTContext.h"#include "clang/AST/Attr.h"#include "clang/AST/Decl.h"#include "clang/AST/DeclCXX.h"#include "clang/AST/DeclTemplate.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 "clang/Sema/TemplateDeduction.h"#include "llvm/ADT/SmallVector.h"Go to the source code of this file.
Classes | |
| class | BuiltinTypeDeclBuilder |
|
static |
Definition at line 279 of file HLSLExternalSemaSource.cpp.
References clang::TemplateArgumentListInfo::addArgument(), clang::DeclContext::addDecl(), clang::ClassTemplateDecl::AddPartialSpecialization(), clang::Class, clang::ASTTemplateArgumentListInfo::Create(), clang::ClassTemplatePartialSpecializationDecl::Create(), clang::DeclRefExpr::Create(), clang::NonTypeTemplateParmDecl::Create(), clang::TemplateParameterList::Create(), clang::TemplateTypeParmDecl::Create(), clang::CanQual< Type >::CreateUnsafe(), clang::IdentifierTable::get(), clang::Sema::getASTContext(), clang::ASTContext::getCanonicalType(), clang::ASTContext::getDependentSizedExtVectorType(), clang::ASTContext::getTemplateSpecializationType(), clang::ASTContext::getTemplateTypeParmType(), clang::Sema::getTrivialTemplateArgumentLoc(), clang::ASTContext::getTrivialTypeSourceInfo(), clang::ASTContext::Idents, clang::ASTContext::IntTy, and clang::VK_LValue.
|
static |
Definition at line 413 of file HLSLExternalSemaSource.cpp.
References clang::DeclContext::addDecl(), constructStructuredBufferConstraintExpr(), constructTypedBufferConstraintExpr(), clang::ConceptDecl::Create(), clang::TemplateParameterList::Create(), clang::TemplateTypeParmDecl::Create(), clang::Sema::getASTContext(), clang::Decl::getDeclContext(), and clang::TemplateDecl::setTemplateParameters().
|
static |
Definition at line 367 of file HLSLExternalSemaSource.cpp.
References clang::BinaryOperator::Create(), clang::IntegerLiteral::Create(), clang::TypeTraitExpr::Create(), clang::UnaryOperator::Create(), clang::Sema::getASTContext(), clang::OK_Ordinary, and clang::VK_LValue.
Referenced by constructBufferConceptDecl().
|
static |
Definition at line 342 of file HLSLExternalSemaSource.cpp.
References clang::TypeTraitExpr::Create(), and clang::Sema::getASTContext().
Referenced by constructBufferConceptDecl().
|
static |
Set up common members and attributes for buffer types.
Definition at line 234 of file HLSLExternalSemaSource.cpp.
References clang::hlsl::BuiltinTypeDeclBuilder::addBufferHandles(), clang::hlsl::BuiltinTypeDeclBuilder::addCopyAssignmentOperator(), clang::hlsl::BuiltinTypeDeclBuilder::addCopyConstructor(), clang::hlsl::BuiltinTypeDeclBuilder::addDefaultHandleConstructor(), and clang::hlsl::BuiltinTypeDeclBuilder::addStaticInitializationFunctions().
|
static |
Set up common members and attributes for sampler types.
Definition at line 246 of file HLSLExternalSemaSource.cpp.
References clang::hlsl::BuiltinTypeDeclBuilder::addCopyAssignmentOperator(), clang::hlsl::BuiltinTypeDeclBuilder::addCopyConstructor(), clang::hlsl::BuiltinTypeDeclBuilder::addDefaultHandleConstructor(), clang::hlsl::BuiltinTypeDeclBuilder::addSamplerHandle(), and clang::hlsl::BuiltinTypeDeclBuilder::addStaticInitializationFunctions().
|
static |
Set up common members and attributes for texture types.
Definition at line 256 of file HLSLExternalSemaSource.cpp.
References clang::hlsl::BuiltinTypeDeclBuilder::addCopyAssignmentOperator(), clang::hlsl::BuiltinTypeDeclBuilder::addCopyConstructor(), clang::hlsl::BuiltinTypeDeclBuilder::addDefaultHandleConstructor(), clang::hlsl::BuiltinTypeDeclBuilder::addGatherCmpMethods(), clang::hlsl::BuiltinTypeDeclBuilder::addGatherMethods(), clang::hlsl::BuiltinTypeDeclBuilder::addSampleBiasMethods(), clang::hlsl::BuiltinTypeDeclBuilder::addSampleCmpLevelZeroMethods(), clang::hlsl::BuiltinTypeDeclBuilder::addSampleCmpMethods(), clang::hlsl::BuiltinTypeDeclBuilder::addSampleGradMethods(), clang::hlsl::BuiltinTypeDeclBuilder::addSampleLevelMethods(), clang::hlsl::BuiltinTypeDeclBuilder::addSampleMethods(), clang::hlsl::BuiltinTypeDeclBuilder::addStaticInitializationFunctions(), clang::hlsl::BuiltinTypeDeclBuilder::addTextureHandle(), and clang::Dim.