|
LLVM 24.0.0git
|
Denotes the element that could not be packed and why. More...
#include "llvm/Frontend/HLSL/SemanticSignaturePacking.h"
Public Types | |
| enum | ErrorKind { SignatureOverflow } |
Public Member Functions | |
| SignaturePackingError (ErrorKind Kind, unsigned ElementIndex) | |
| ErrorKind | getErrorKind () const |
| unsigned | getElementIndex () const |
| 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< SignaturePackingError > | |
| 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 |
Static Public Attributes | |
| static char | ID |
Additional Inherited Members | |
| Static Public Member Functions inherited from llvm::ErrorInfo< SignaturePackingError > | |
| static const void * | classID () |
| Static Public Member Functions inherited from llvm::ErrorInfoBase | |
| static const void * | classID () |
Denotes the element that could not be packed and why.
Definition at line 28 of file SemanticSignaturePacking.h.
| Enumerator | |
|---|---|
| SignatureOverflow | |
Definition at line 30 of file SemanticSignaturePacking.h.
|
inline |
Definition at line 36 of file SemanticSignaturePacking.h.
|
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 44 of file SemanticSignaturePacking.h.
References llvm::inconvertibleErrorCode().
|
inline |
Definition at line 40 of file SemanticSignaturePacking.h.
|
inline |
Definition at line 39 of file SemanticSignaturePacking.h.
|
overridevirtual |
Print an error message to an output stream.
Implements llvm::ErrorInfoBase.
Definition at line 22 of file SemanticSignaturePacking.cpp.
References llvm::hlsl::MaxSignatureRows, and SignatureOverflow.
|
static |
Definition at line 34 of file SemanticSignaturePacking.h.