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

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

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

Public Member Functions

 InvalidRSMetadataValue (StringRef ParamName)
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< InvalidRSMetadataValue >
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

StringRef ParamName

Static Public Attributes

static LLVM_ABI char ID

Additional Inherited Members

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

Detailed Description

Definition at line 174 of file RootSignatureMetadata.h.

Constructor & Destructor Documentation

◆ InvalidRSMetadataValue()

llvm::hlsl::rootsig::InvalidRSMetadataValue::InvalidRSMetadataValue ( StringRef ParamName)
inline

Definition at line 179 of file RootSignatureMetadata.h.

References ParamName.

Member Function Documentation

◆ convertToErrorCode()

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

References llvm::inconvertibleErrorCode().

◆ log()

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

Print an error message to an output stream.

Implements llvm::ErrorInfoBase.

Definition at line 181 of file RootSignatureMetadata.h.

References ParamName.

Member Data Documentation

◆ ID

char llvm::hlsl::rootsig::InvalidRSMetadataValue::ID
static

Definition at line 176 of file RootSignatureMetadata.h.

◆ ParamName

StringRef llvm::hlsl::rootsig::InvalidRSMetadataValue::ParamName

Definition at line 177 of file RootSignatureMetadata.h.

Referenced by InvalidRSMetadataValue(), and log().


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