LLVM 20.0.0git
Classes | Namespaces | Functions
ErrorOr.h File Reference

Provides ErrorOr<T> smart pointer. More...

#include "llvm/Support/AlignOf.h"
#include <cassert>
#include <system_error>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

class  llvm::ErrorOr< T >
 Represents either an error or a value T. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

template<class T , class E >
std::enable_if_t< std::is_error_code_enum< E >::value||std::is_error_condition_enum< E >::value, boolllvm::operator== (const ErrorOr< T > &Err, E Code)
 

Detailed Description

Provides ErrorOr<T> smart pointer.

Definition in file ErrorOr.h.