clang 22.0.0git
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 >:
[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 215 of file FileEntry.h.

Constructor & Destructor Documentation

◆ OptionalStorage() [1/2]

Referenced by operator=().

◆ OptionalStorage() [2/2]

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

Definition at line 224 of file FileEntry.h.

Member Function Documentation

◆ operator=()


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