LLVM API Documentation
#include <system_error.h>
Public Types | |
| typedef void(* | unspecified_bool_type )() |
Public Member Functions | |
| error_code () | |
| error_code (int _val, const error_category &_cat) | |
| template<class E > | |
| error_code (E _e, typename enable_if_c< is_error_code_enum< E >::value >::type *=0) | |
| void | assign (int _val, const error_category &_cat) |
| template<class E > | |
| enable_if_c < is_error_code_enum< E > ::value, error_code & >::type | operator= (E _e) |
| void | clear () |
| int | value () const |
| const error_category & | category () const |
| error_condition | default_error_condition () const |
| std::string | message () const |
| operator unspecified_bool_type () const | |
Static Public Member Functions | |
| static error_code | success () |
| static void | unspecified_bool_true () |
Definition at line 726 of file system_error.h.
| typedef void(* llvm::error_code::unspecified_bool_type)() |
Definition at line 774 of file system_error.h.
| llvm::error_code::error_code | ( | ) | [inline] |
Definition at line 730 of file system_error.h.
Referenced by success().
| llvm::error_code::error_code | ( | int | _val, |
| const error_category & | _cat | ||
| ) | [inline] |
Definition at line 736 of file system_error.h.
| llvm::error_code::error_code | ( | E | _e, |
| typename enable_if_c< is_error_code_enum< E >::value >::type * | = 0 |
||
| ) | [inline] |
Definition at line 740 of file system_error.h.
References llvm::make_error_code().
| void llvm::error_code::assign | ( | int | _val, |
| const error_category & | _cat | ||
| ) | [inline] |
Definition at line 746 of file system_error.h.
| const error_category& llvm::error_code::category | ( | ) | const [inline] |
Definition at line 767 of file system_error.h.
Referenced by llvm::error_category::equivalent(), llvm::operator<(), and llvm::operator==().
| void llvm::error_code::clear | ( | ) | [inline] |
Definition at line 760 of file system_error.h.
References llvm::system_category().
| error_condition llvm::error_code::default_error_condition | ( | ) | const [inline] |
Definition at line 769 of file system_error.h.
References llvm::error_category::default_error_condition().
| std::string llvm::error_code::message | ( | ) | const |
Definition at line 118 of file system_error.cpp.
References llvm::error_category::message().
Referenced by llvm::createGraphFilename(), llvm::SectionMemoryManager::finalizeMemory(), LLVMCreateMemoryBufferWithContentsOfFile(), LLVMCreateMemoryBufferWithSTDIN(), LLVMMoveToNextRelocation(), LLVMMoveToNextSection(), LLVMMoveToNextSymbol(), and llvm::object::printRelocationTargetName().
| llvm::error_code::operator unspecified_bool_type | ( | ) | const [inline] |
Definition at line 777 of file system_error.h.
References unspecified_bool_true().
| enable_if_c< is_error_code_enum<E>::value, error_code& >::type llvm::error_code::operator= | ( | E | _e | ) | [inline] |
Definition at line 757 of file system_error.h.
References llvm::make_error_code().
| static error_code llvm::error_code::success | ( | ) | [inline, static] |
Definition at line 732 of file system_error.h.
References error_code().
Referenced by llvm::FileOutputBuffer::create(), llvm::object::Archive::Child::getMemoryBuffer(), getMemoryBufferForStream(), llvm::MemoryBuffer::getOpenFile(), llvm::sys::fs::has_magic(), llvm::sys::fs::identify_magic(), llvm::sys::fs::is_directory(), llvm::sys::fs::is_regular_file(), llvm::sys::fs::is_symlink(), llvm::sys::fs::make_absolute(), and llvm::ErrorOr< T >::operator llvm::error_code().
| static void llvm::error_code::unspecified_bool_true | ( | ) | [inline, static] |
Definition at line 775 of file system_error.h.
Referenced by operator unspecified_bool_type().
| int llvm::error_code::value | ( | ) | const [inline] |
Definition at line 765 of file system_error.h.
Referenced by llvm::error_category::equivalent(), llvm::operator<(), and llvm::operator==().