LLVM 22.0.0git
llvm::MSVCPError Class Reference

#include "llvm/Support/MSVCErrorWorkarounds.h"

Inheritance diagram for llvm::MSVCPError:
[legend]

Public Member Functions

 MSVCPError ()
 MSVCPError (MSVCPError &&Other)
MSVCPErroroperator= (MSVCPError Other)
 MSVCPError (Error Err)
Public Member Functions inherited from llvm::Error
 Error (const Error &Other)=delete
 Error (Error &&Other)
 Move-construct an error value.
 Error (std::unique_ptr< ErrorInfoBase > Payload)
 Create an error value.
Erroroperator= (const Error &Other)=delete
Erroroperator= (Error &&Other)
 Move-assign an error value.
 ~Error ()
 Destroy a Error.
 operator bool ()
 Bool conversion.
template<typename ErrT>
bool isA () const
 Check whether one error is a subclass of another.
const void * dynamicClassID () const
 Returns the dynamic class id of this error, or null if this is a success value.

Additional Inherited Members

Static Public Member Functions inherited from llvm::Error
static ErrorSuccess success ()
 Create a success value.
Protected Member Functions inherited from llvm::Error
 Error ()
 Create a success value. Prefer using 'Error::success()' for readability.

Detailed Description

Definition at line 27 of file MSVCErrorWorkarounds.h.

Constructor & Destructor Documentation

◆ MSVCPError() [1/3]

llvm::MSVCPError::MSVCPError ( )
inline

Definition at line 29 of file MSVCErrorWorkarounds.h.

Referenced by MSVCPError(), and operator=().

◆ MSVCPError() [2/3]

llvm::MSVCPError::MSVCPError ( MSVCPError && Other)
inline

Definition at line 31 of file MSVCErrorWorkarounds.h.

References llvm::Error::Error(), llvm::move(), MSVCPError(), and llvm::Other.

◆ MSVCPError() [3/3]

llvm::MSVCPError::MSVCPError ( Error Err)
inline

Definition at line 38 of file MSVCErrorWorkarounds.h.

References llvm::Error::Error(), and llvm::move().

Member Function Documentation

◆ operator=()

MSVCPError & llvm::MSVCPError::operator= ( MSVCPError Other)
inline

Definition at line 33 of file MSVCErrorWorkarounds.h.

References MSVCPError(), llvm::Error::operator=(), and llvm::Other.


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