LLVM API Documentation

Classes | Namespaces | Functions
ErrorOr.h File Reference
#include "llvm/ADT/PointerIntPair.h"
#include "llvm/Support/AlignOf.h"
#include <cassert>
#include <system_error>
#include <type_traits>
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

namespace  llvm
 

List of target independent CodeGen pass IDs.


Functions

template<class T , class V >
std::enable_if
< std::is_constructible< T, V >
::value, typename
std::remove_reference< V >
::type >::type && 
llvm::moveIfMoveConstructible (V &Val)
template<class T , class E >
std::enable_if
< std::is_error_code_enum< E >
::value||std::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.