LLVM  4.0.0
Namespaces | Enumerations | Functions | Variables
Support/Error.cpp File Reference
#include "llvm/Support/Error.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/ManagedStatic.h"
#include <system_error>
Include dependency graph for Support/Error.cpp:

Go to the source code of this file.

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Enumerations

enum  ErrorErrorCode : int
 

Functions

void llvm::logAllUnhandledErrors (Error E, raw_ostream &OS, Twine ErrorBanner)
 Log all errors (if any) in E to OS. More...
 
std::error_code llvm::inconvertibleErrorCode ()
 The value returned by this function can be returned from convertToErrorCode for Error values where no sensible translation to std::error_code exists. More...
 
Error llvm::errorCodeToError (std::error_code EC)
 Helper for converting an std::error_code to a Error. More...
 
std::error_code llvm::errorToErrorCode (Error Err)
 Helper for converting an ECError to a std::error_code. More...
 
LLVM_ATTRIBUTE_NORETURN void llvm::report_fatal_error (Error Err, bool gen_crash_diag=true)
 Report a serious error, calling any installed error handler. More...
 

Variables

static ManagedStatic
< ErrorErrorCategory > 
ErrorErrorCat
 
int llvm::DisableABIBreakingChecks
 

Enumeration Type Documentation

enum ErrorErrorCode : int
strong

Definition at line 21 of file Support/Error.cpp.

Variable Documentation

ManagedStatic<ErrorErrorCategory> ErrorErrorCat
static