LLVM 22.0.0git
llvm::hlsl::rootsig::OffsetAppendAfterOverflow Class Reference

#include "llvm/Frontend/HLSL/RootSignatureMetadata.h"

Inheritance diagram for llvm::hlsl::rootsig::OffsetAppendAfterOverflow:
[legend]

Public Member Functions

 OffsetAppendAfterOverflow (dxil::ResourceClass Type, uint32_t Register, uint32_t Space)
void log (raw_ostream &OS) const override
 Print an error message to an output stream.
std::error_code convertToErrorCode () const override
 Convert this error to a std::error_code.
Public Member Functions inherited from llvm::ErrorInfo< OffsetAppendAfterOverflow >
const void * dynamicClassID () const override
bool isA (const void *const ClassID) const override
Public Member Functions inherited from llvm::ErrorInfoBase
virtual ~ErrorInfoBase ()=default
virtual std::string message () const
 Return the error message as a string.
template<typename ErrorInfoT>
bool isA () const

Public Attributes

dxil::ResourceClass Type
uint32_t Register
uint32_t Space

Static Public Attributes

static char ID

Additional Inherited Members

Static Public Member Functions inherited from llvm::ErrorInfo< OffsetAppendAfterOverflow >
static const void * classID ()
Static Public Member Functions inherited from llvm::ErrorInfoBase
static const void * classID ()

Detailed Description

Definition at line 51 of file RootSignatureMetadata.h.

Constructor & Destructor Documentation

◆ OffsetAppendAfterOverflow()

llvm::hlsl::rootsig::OffsetAppendAfterOverflow::OffsetAppendAfterOverflow ( dxil::ResourceClass Type,
uint32_t Register,
uint32_t Space )
inline

Definition at line 58 of file RootSignatureMetadata.h.

References Register, Space, and Type.

Member Function Documentation

◆ convertToErrorCode()

std::error_code llvm::hlsl::rootsig::OffsetAppendAfterOverflow::convertToErrorCode ( ) const
inlineoverridevirtual

Convert this error to a std::error_code.

This is a temporary crutch to enable interaction with code still using std::error_code. It will be removed in the future.

Implements llvm::ErrorInfoBase.

Definition at line 68 of file RootSignatureMetadata.h.

References llvm::inconvertibleErrorCode().

◆ log()

void llvm::hlsl::rootsig::OffsetAppendAfterOverflow::log ( raw_ostream & OS) const
inlineoverridevirtual

Print an error message to an output stream.

Implements llvm::ErrorInfoBase.

Definition at line 62 of file RootSignatureMetadata.h.

References Register, Space, and Type.

Member Data Documentation

◆ ID

char llvm::hlsl::rootsig::OffsetAppendAfterOverflow::ID
static

Definition at line 53 of file RootSignatureMetadata.h.

◆ Register

uint32_t llvm::hlsl::rootsig::OffsetAppendAfterOverflow::Register

Definition at line 55 of file RootSignatureMetadata.h.

Referenced by log(), and OffsetAppendAfterOverflow().

◆ Space

uint32_t llvm::hlsl::rootsig::OffsetAppendAfterOverflow::Space

Definition at line 56 of file RootSignatureMetadata.h.

Referenced by log(), and OffsetAppendAfterOverflow().

◆ Type

dxil::ResourceClass llvm::hlsl::rootsig::OffsetAppendAfterOverflow::Type

Definition at line 54 of file RootSignatureMetadata.h.

Referenced by log(), and OffsetAppendAfterOverflow().


The documentation for this class was generated from the following files: