clang 24.0.0git
HLSLBufferLayoutBuilder.cpp File Reference
#include "HLSLBufferLayoutBuilder.h"
#include "CGHLSLRuntime.h"
#include "CodeGenModule.h"
#include "TargetInfo.h"
#include "clang/AST/Type.h"

Go to the source code of this file.

Namespaces

namespace  clang
 Top level wrappers for InstallAPI frontend operations.
namespace  clang::CodeGen

Variables

constexpr CharUnits CBufferRowSize

Variable Documentation

◆ CBufferRowSize

CharUnits CBufferRowSize
constexpr
Initial value:
=
CharUnits::fromQuantity(llvm::hlsl::CBufferRowSizeInBytes)
static constexpr CharUnits fromQuantity(QuantityType Quantity)
Construct a CharUnits quantity from a raw integer type.
Definition CharUnits.h:58

Definition at line 23 of file HLSLBufferLayoutBuilder.cpp.

Referenced by clang::CodeGen::HLSLBufferLayoutBuilder::layOutStruct().