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

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

#include "clang/Basic/FileEntry.h"

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

Public Member Functions

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

Detailed Description

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

Definition at line 209 of file FileEntry.h.

Constructor & Destructor Documentation

◆ OptionalStorage() [1/2]

◆ OptionalStorage() [2/2]

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

Definition at line 218 of file FileEntry.h.

Member Function Documentation

◆ operator=()

Definition at line 221 of file FileEntry.h.


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