mini-llvm 0.1.0
Loading...
Searching...
No Matches
mini_llvm::SystemError Class Reference

#include <SystemError.h>

Public Types

using native_type = int

Public Member Functions

 SystemError (ErrorCode code)
 SystemError (ErrorCode code, native_type native)
ErrorCode code () const
std::optional< native_typenative () const

Static Public Member Functions

static SystemError fromNative (native_type native)

Member Typedef Documentation

◆ native_type

Constructor & Destructor Documentation

◆ SystemError() [1/2]

mini_llvm::SystemError::SystemError ( ErrorCode code)
inlineexplicit

◆ SystemError() [2/2]

mini_llvm::SystemError::SystemError ( ErrorCode code,
native_type native )
inline

Member Function Documentation

◆ code()

ErrorCode mini_llvm::SystemError::code ( ) const
inline

◆ fromNative()

SystemError mini_llvm::SystemError::fromNative ( native_type native)
static

◆ native()

std::optional< native_type > mini_llvm::SystemError::native ( ) const
inline

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