class MapEntryOptionalStorage
Declaration
template <class RefTy>
class MapEntryOptionalStorage { /* full declaration omitted */ };
Description
Customized storage for refs derived from map entires in FileManager, using the private optional_none_tag to keep it to the size of a single pointer.
Declared at: clang/include/clang/Basic/DirectoryEntry.h:120
Templates
- RefTy
Member Variables
- private RefTy MaybeRef
Method Overview
- public MapEntryOptionalStorage<RefTy>()
- public template <class... ArgTypes> MapEntryOptionalStorage<RefTy>(llvm::in_place_t, ArgTypes &&... Args)
- public template <class... Args>void emplace(Args &&... args)
- public RefTy & getValue() &
- public const RefTy & getValue() const &
- public RefTy && getValue() &&
- public bool hasValue() const
- public bool has_value() const
- public void reset()
- public RefTy & value() &
- public const RefTy & value() const &
- public RefTy && value() &&
Methods
¶MapEntryOptionalStorage<RefTy>()
MapEntryOptionalStorage<RefTy>()
Declared at: clang/include/clang/Basic/DirectoryEntry.h:125
¶template <class... ArgTypes>
MapEntryOptionalStorage<RefTy>(llvm::in_place_t,
ArgTypes&&... Args)
template <class... ArgTypes>
MapEntryOptionalStorage<RefTy>(llvm::in_place_t,
ArgTypes&&... Args)
Declared at: clang/include/clang/Basic/DirectoryEntry.h:128
Templates
- ArgTypes
Parameters
- llvm::in_place_t
- ArgTypes&&... Args
¶template <class... Args>
void emplace(Args&&... args)
template <class... Args>
void emplace(Args&&... args)
Declared at: clang/include/clang/Basic/DirectoryEntry.h:161
Templates
- Args
Parameters
- Args&&... args
¶RefTy& getValue() &
RefTy& getValue() &
Declared at: clang/include/clang/Basic/DirectoryEntry.h:140
¶const RefTy& getValue() const&
const RefTy& getValue() const&
Declared at: clang/include/clang/Basic/DirectoryEntry.h:148
¶RefTy&& getValue() &&
RefTy&& getValue() &&
Declared at: clang/include/clang/Basic/DirectoryEntry.h:156
¶bool hasValue() const
bool hasValue() const
Declared at: clang/include/clang/Basic/DirectoryEntry.h:134
¶bool has_value() const
bool has_value() const
Declared at: clang/include/clang/Basic/DirectoryEntry.h:133
¶void reset()
void reset()
Declared at: clang/include/clang/Basic/DirectoryEntry.h:131
¶RefTy& value() &
RefTy& value() &
Declared at: clang/include/clang/Basic/DirectoryEntry.h:136
¶const RefTy& value() const&
const RefTy& value() const&
Declared at: clang/include/clang/Basic/DirectoryEntry.h:144
¶RefTy&& value() &&
RefTy&& value() &&
Declared at: clang/include/clang/Basic/DirectoryEntry.h:152