LLVM API Documentation
#include <Optional.h>
Public Member Functions | |
Optional (NoneType) | |
Optional () | |
Optional (const T &y) | |
Optional (const Optional &O) | |
Optional & | operator= (const T &y) |
Optional & | operator= (const Optional &O) |
void | reset () |
~Optional () | |
const T * | getPointer () const |
T * | getPointer () |
const T & | getValue () const LLVM_LVALUE_FUNCTION |
T & | getValue () LLVM_LVALUE_FUNCTION |
LLVM_EXPLICIT | operator bool () const |
bool | hasValue () const |
const T * | operator-> () const |
T * | operator-> () |
const T & | operator* () const LLVM_LVALUE_FUNCTION |
T & | operator* () LLVM_LVALUE_FUNCTION |
Static Public Member Functions | |
static Optional | create (const T *y) |
Definition at line 31 of file Optional.h.
|
inline |
Definition at line 35 of file Optional.h.
|
inlineexplicit |
Definition at line 36 of file Optional.h.
Referenced by llvm::Optional< std::pair< std::string, int > >::create().
|
inline |
Definition at line 37 of file Optional.h.
|
inline |
Definition at line 40 of file Optional.h.
|
inline |
Definition at line 109 of file Optional.h.
|
inlinestatic |
Definition at line 75 of file Optional.h.
|
inline |
Definition at line 113 of file Optional.h.
Referenced by llvm::Optional< std::pair< std::string, int > >::getValue(), llvm::Optional< std::pair< std::string, int > >::operator*(), and llvm::Optional< std::pair< std::string, int > >::operator->().
|
inline |
Definition at line 114 of file Optional.h.
|
inline |
Definition at line 115 of file Optional.h.
Referenced by llvm::DWARFFormValue::dump(), llvm::DWARFDebugInfoEntryMinimal::getAttributeValueAsAddress(), llvm::DWARFDebugInfoEntryMinimal::getAttributeValueAsReference(), llvm::DWARFDebugInfoEntryMinimal::getAttributeValueAsSectionOffset(), llvm::DWARFDebugInfoEntryMinimal::getAttributeValueAsString(), and llvm::DWARFDebugInfoEntryMinimal::getAttributeValueAsUnsignedConstant().
|
inline |
Definition at line 116 of file Optional.h.
|
inline |
Definition at line 119 of file Optional.h.
Referenced by llvm::DWARFFormValue::dump(), llvm::DWARFDebugInfoEntryMinimal::getAttributeValueAsAddress(), llvm::DWARFDebugInfoEntryMinimal::getAttributeValueAsReference(), llvm::DWARFDebugInfoEntryMinimal::getAttributeValueAsSectionOffset(), llvm::DWARFDebugInfoEntryMinimal::getAttributeValueAsString(), and llvm::DWARFDebugInfoEntryMinimal::getAttributeValueAsUnsignedConstant().
|
inline |
Definition at line 118 of file Optional.h.
|
inline |
Definition at line 122 of file Optional.h.
|
inline |
Definition at line 123 of file Optional.h.
|
inline |
Definition at line 120 of file Optional.h.
|
inline |
Definition at line 121 of file Optional.h.
|
inline |
Definition at line 84 of file Optional.h.
|
inline |
Definition at line 94 of file Optional.h.
|
inline |
Definition at line 102 of file Optional.h.
Referenced by llvm::Optional< std::pair< std::string, int > >::operator=(), and llvm::Optional< std::pair< std::string, int > >::~Optional().