LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
ErrorOr.h File Reference
#include "llvm/ADT/PointerIntPair.h"
#include "llvm/Support/AlignOf.h"
#include "llvm/Support/system_error.h"
#include "llvm/Support/type_traits.h"
#include <cassert>
Include dependency graph for ErrorOr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::ReferenceStorage< T >
 Stores a reference that can be changed. More...
 
class  llvm::ErrorOr< T >
 Represents either an error or a value T. More...
 

Namespaces

 llvm
 List of target independent CodeGen pass IDs.
 

Functions

template<class T , class V >
V & llvm::moveIfMoveConstructible (V &Val)
 
template<class T , class E >
enable_if_c
< is_error_code_enum< E >
::value||is_error_condition_enum
< E >::value, bool >::type 
llvm::operator== (ErrorOr< T > &Err, E Code)
 

Detailed Description

Provides ErrorOr<T> smart pointer.

Definition in file ErrorOr.h.