clang 20.0.0git
Namespaces | Macros | Functions
HLSLRuntime.h File Reference

Defines helper utilities for supporting the HLSL runtime environment. More...

#include "clang/Basic/LangOptions.h"
#include <cstdint>

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::hlsl
 

Macros

#define ENUM_COMPARE_ASSERT(Value)
 

Functions

constexpr ShaderStage clang::hlsl::getStageFromEnvironment (const llvm::Triple::EnvironmentType &E)
 

Detailed Description

Defines helper utilities for supporting the HLSL runtime environment.

Definition in file HLSLRuntime.h.

Macro Definition Documentation

◆ ENUM_COMPARE_ASSERT

#define ENUM_COMPARE_ASSERT (   Value)
Value:
static_assert( \
getStageFromEnvironment(llvm::Triple::Value) == ShaderStage::Value, \
"Mismatch between llvm::Triple and clang::ShaderStage for " #Value);

Definition at line 33 of file HLSLRuntime.h.