clang 22.0.0git
HLSLBufferLayoutBuilder.cpp File Reference
#include "HLSLBufferLayoutBuilder.h"
#include "CGHLSLRuntime.h"
#include "CodeGenModule.h"
#include "TargetInfo.h"
#include "clang/AST/Type.h"
#include <climits>

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
namespace  clang::CodeGen

Variables

static const CharUnits CBufferRowSize

Variable Documentation

◆ CBufferRowSize

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

Definition at line 24 of file HLSLBufferLayoutBuilder.cpp.

Referenced by clang::CodeGen::HLSLBufferLayoutBuilder::layOutArray(), and clang::CodeGen::HLSLBufferLayoutBuilder::layOutStruct().