clang 19.0.0git
|
#include "clang/Sema/SemaHLSL.h"
#include "clang/Basic/DiagnosticSema.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Sema/Sema.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/TargetParser/Triple.h"
#include <iterator>
Go to the source code of this file.
Functions | |
static unsigned | calculateLegacyCbufferSize (const ASTContext &Context, QualType T) |
|
static |
Definition at line 44 of file SemaHLSL.cpp.
References calculateLegacyCbufferSize(), clang::RecordDecl::fields(), clang::Type::getAs(), clang::ASTContext::getAsConstantArrayType(), clang::ASTContext::getTypeSize(), clang::Type::isAggregateType(), and clang::T.
Referenced by clang::SemaHLSL::ActOnFinishBuffer(), and calculateLegacyCbufferSize().