LLVM 17.0.0git
Namespaces | Typedefs
Optional.h File Reference

This file provides Optional, a template class modeled in the spirit of OCaml's 'opt' variant. More...

#include <optional>
Include dependency graph for Optional.h:

Go to the source code of this file.

Namespaces

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

Typedefs

template<class T >
using llvm::Optional = std::optional< T >
 

Detailed Description

This file provides Optional, a template class modeled in the spirit of OCaml's 'opt' variant.

The idea is to strongly type whether or not a value can be optional.

Definition in file Optional.h.