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

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

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

Public Member Functions

 OffsetOverflowError (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< OffsetOverflowError >
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< OffsetOverflowError >
static const void * classID ()
Static Public Member Functions inherited from llvm::ErrorInfoBase
static const void * classID ()

Detailed Description

Definition at line 95 of file RootSignatureMetadata.h.

Constructor & Destructor Documentation

◆ OffsetOverflowError()

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

Definition at line 102 of file RootSignatureMetadata.h.

References Register, Space, and Type.

Member Function Documentation

◆ convertToErrorCode()

std::error_code llvm::hlsl::rootsig::OffsetOverflowError::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 111 of file RootSignatureMetadata.h.

References llvm::inconvertibleErrorCode().

◆ log()

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

Print an error message to an output stream.

Implements llvm::ErrorInfoBase.

Definition at line 106 of file RootSignatureMetadata.h.

References Register, Space, and Type.

Member Data Documentation

◆ ID

char llvm::hlsl::rootsig::OffsetOverflowError::ID
static

Definition at line 97 of file RootSignatureMetadata.h.

◆ Register

uint32_t llvm::hlsl::rootsig::OffsetOverflowError::Register

Definition at line 99 of file RootSignatureMetadata.h.

Referenced by log(), and OffsetOverflowError().

◆ Space

uint32_t llvm::hlsl::rootsig::OffsetOverflowError::Space

Definition at line 100 of file RootSignatureMetadata.h.

Referenced by log(), and OffsetOverflowError().

◆ Type

dxil::ResourceClass llvm::hlsl::rootsig::OffsetOverflowError::Type

Definition at line 98 of file RootSignatureMetadata.h.

Referenced by log(), and OffsetOverflowError().


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