LLVM API Documentation

Classes | Namespaces | Functions
Optional.h File Reference
#include "llvm/ADT/None.h"
#include "llvm/Support/AlignOf.h"
#include "llvm/Support/Compiler.h"
#include <cassert>
#include <utility>
Include dependency graph for Optional.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::Optional< T >
struct  llvm::isPodLike< Optional< T > >

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Functions

template<typename T , typename U >
void llvm::operator== (const Optional< T > &X, const Optional< U > &Y)
 Poison comparison between two Optional objects. Clients needs to explicitly compare the underlying values and account for empty Optional objects.
template<typename T , typename U >
void llvm::operator!= (const Optional< T > &X, const Optional< U > &Y)
 Poison comparison between two Optional objects. Clients needs to explicitly compare the underlying values and account for empty Optional objects.
template<typename T , typename U >
void llvm::operator< (const Optional< T > &X, const Optional< U > &Y)
 Poison comparison between two Optional objects. Clients needs to explicitly compare the underlying values and account for empty Optional objects.
template<typename T , typename U >
void llvm::operator<= (const Optional< T > &X, const Optional< U > &Y)
 Poison comparison between two Optional objects. Clients needs to explicitly compare the underlying values and account for empty Optional objects.
template<typename T , typename U >
void llvm::operator>= (const Optional< T > &X, const Optional< U > &Y)
 Poison comparison between two Optional objects. Clients needs to explicitly compare the underlying values and account for empty Optional objects.
template<typename T , typename U >
void llvm::operator> (const Optional< T > &X, const Optional< U > &Y)
 Poison comparison between two Optional objects. Clients needs to explicitly compare the underlying values and account for empty Optional objects.