LLVM
8.0.1
|
Storage for any type. More...
#include "llvm/ADT/Optional.h"
Public Member Functions | |
OptionalStorage ()=default | |
OptionalStorage (const T &y) | |
OptionalStorage (const OptionalStorage &O) | |
OptionalStorage (T &&y) | |
OptionalStorage (OptionalStorage &&O) | |
OptionalStorage & | operator= (T &&y) |
OptionalStorage & | operator= (OptionalStorage &&O) |
OptionalStorage & | operator= (const T &y) |
OptionalStorage & | operator= (const OptionalStorage &O) |
~OptionalStorage () | |
void | reset () |
T * | getPointer () |
const T * | getPointer () const |
Public Attributes | |
AlignedCharArrayUnion< T > | storage |
bool | hasVal = false |
Storage for any type.
Definition at line 32 of file Optional.h.
|
default |
|
inline |
Definition at line 38 of file Optional.h.
|
inline |
Definition at line 39 of file Optional.h.
|
inline |
Definition at line 43 of file Optional.h.
|
inline |
Definition at line 46 of file Optional.h.
|
inline |
Definition at line 92 of file Optional.h.
|
inline |
Definition at line 101 of file Optional.h.
Referenced by llvm::Optional< uint64_t >::emplace(), llvm::Optional< uint64_t >::getValue(), llvm::Optional< uint64_t >::getValueOr(), llvm::Optional< uint64_t >::operator*(), llvm::Optional< uint64_t >::operator->(), llvm::optional_detail::OptionalStorage< uint64_t >::operator=(), llvm::optional_detail::OptionalStorage< uint64_t >::OptionalStorage(), and llvm::optional_detail::OptionalStorage< uint64_t >::reset().
|
inline |
Definition at line 105 of file Optional.h.
|
inline |
Definition at line 52 of file Optional.h.
Referenced by llvm::Optional< uint64_t >::operator=().
|
inline |
Definition at line 61 of file Optional.h.
|
inline |
Definition at line 75 of file Optional.h.
|
inline |
Definition at line 84 of file Optional.h.
|
inline |
Definition at line 94 of file Optional.h.
Referenced by llvm::Optional< uint64_t >::emplace(), llvm::optional_detail::OptionalStorage< uint64_t >::operator=(), llvm::Optional< uint64_t >::reset(), and llvm::optional_detail::OptionalStorage< uint64_t >::~OptionalStorage().
bool llvm::optional_detail::OptionalStorage< T, bool >::hasVal = false |
AlignedCharArrayUnion<T> llvm::optional_detail::OptionalStorage< T, bool >::storage |
Definition at line 33 of file Optional.h.
Referenced by llvm::Optional< uint64_t >::getPointer().