LLVM 20.0.0git
Classes | Namespaces | Functions
fallible_iterator.h File Reference
#include "llvm/ADT/PointerIntPair.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/Support/Error.h"
#include <type_traits>

Go to the source code of this file.

Classes

class  llvm::fallible_iterator< Underlying >
 A wrapper class for fallible iterators. More...
 

Namespaces

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

Functions

template<typename Underlying >
fallible_iterator< Underlying > llvm::make_fallible_itr (Underlying I, Error &Err)
 Convenience wrapper to make a fallible_iterator value from an instance of an underlying iterator and an Error reference.
 
template<typename Underlying >
fallible_iterator< Underlying > llvm::make_fallible_end (Underlying E)
 Convenience wrapper to make a fallible_iterator end value from an instance of an underlying iterator.
 
template<typename Underlying >
iterator_range< fallible_iterator< Underlying > > llvm::make_fallible_range (Underlying I, Underlying E, Error &Err)