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

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

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

Public Member Functions

 InvalidRSMetadataFormat (StringRef ElementName)
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< InvalidRSMetadataFormat >
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 ElementName

Static Public Attributes

static LLVM_ABI char ID

Additional Inherited Members

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

Detailed Description

Definition at line 158 of file RootSignatureMetadata.h.

Constructor & Destructor Documentation

◆ InvalidRSMetadataFormat()

llvm::hlsl::rootsig::InvalidRSMetadataFormat::InvalidRSMetadataFormat ( StringRef ElementName)
inline

Definition at line 163 of file RootSignatureMetadata.h.

References ElementName.

Member Function Documentation

◆ convertToErrorCode()

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

References llvm::inconvertibleErrorCode().

◆ log()

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

Print an error message to an output stream.

Implements llvm::ErrorInfoBase.

Definition at line 165 of file RootSignatureMetadata.h.

References ElementName.

Member Data Documentation

◆ ElementName

StringRef llvm::hlsl::rootsig::InvalidRSMetadataFormat::ElementName

Definition at line 161 of file RootSignatureMetadata.h.

Referenced by InvalidRSMetadataFormat(), and log().

◆ ID

char llvm::hlsl::rootsig::InvalidRSMetadataFormat::ID
static

Definition at line 160 of file RootSignatureMetadata.h.


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