clang 19.0.0git
Public Member Functions | List of all members
clang::optional_detail::OptionalStorage< clang::DirectoryEntryRef > Class Reference

Customize OptionalStorage<DirectoryEntryRef> to use DirectoryEntryRef and its optional_none_tag to keep it the size of a single pointer. More...

#include "clang/Basic/DirectoryEntry.h"

Inheritance diagram for clang::optional_detail::OptionalStorage< clang::DirectoryEntryRef >:
Inheritance graph
[legend]

Public Member Functions

 OptionalStorage ()=default
 
template<class... ArgTypes>
 OptionalStorage (std::in_place_t, ArgTypes &&...Args)
 
OptionalStorageoperator= (clang::DirectoryEntryRef Ref)
 
- Public Member Functions inherited from clang::FileMgr::MapEntryOptionalStorage< clang::DirectoryEntryRef >
 MapEntryOptionalStorage ()
 
 MapEntryOptionalStorage (std::in_place_t, ArgTypes &&...Args)
 
void reset ()
 
bool has_value () const
 
clang::DirectoryEntryRefvalue () &
 
clang::DirectoryEntryRef const & value () const &
 
clang::DirectoryEntryRef && value () &&
 
void emplace (Args &&...args)
 
MapEntryOptionalStorageoperator= (clang::DirectoryEntryRef Ref)
 

Detailed Description

Customize OptionalStorage<DirectoryEntryRef> to use DirectoryEntryRef and its optional_none_tag to keep it the size of a single pointer.

Definition at line 165 of file DirectoryEntry.h.

Constructor & Destructor Documentation

◆ OptionalStorage() [1/2]

◆ OptionalStorage() [2/2]

template<class... ArgTypes>
clang::optional_detail::OptionalStorage< clang::DirectoryEntryRef >::OptionalStorage ( std::in_place_t  ,
ArgTypes &&...  Args 
)
inlineexplicit

Definition at line 174 of file DirectoryEntry.h.

Member Function Documentation

◆ operator=()

Definition at line 177 of file DirectoryEntry.h.


The documentation for this class was generated from the following file: