LLVM 17.0.0git
Namespaces | Typedefs | Variables
None.h File Reference

This file provides None, an enumerator for use in implicit constructors of various (usually templated) types to make such construction more terse. More...

#include "llvm/Support/Compiler.h"
#include <optional>

Go to the source code of this file.

Namespaces

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

Typedefs

typedef std::nullopt_t llvm::NoneType
 A simple null object to allow implicit construction of std::optional<T> and similar types without having to spell out the specialization's name.
 

Variables

constexpr std::nullopt_t llvm::None = std::nullopt
 

Detailed Description

This file provides None, an enumerator for use in implicit constructors of various (usually templated) types to make such construction more terse.

Definition in file None.h.