clang  15.0.0git
Public Member Functions | List of all members
llvm::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 llvm::optional_detail::OptionalStorage< clang::DirectoryEntryRef >:
Inheritance graph
[legend]
Collaboration diagram for llvm::optional_detail::OptionalStorage< clang::DirectoryEntryRef >:
Collaboration graph
[legend]

Public Member Functions

 OptionalStorage ()=default
 
template<class... ArgTypes>
 OptionalStorage (in_place_t, ArgTypes &&...Args)
 
OptionalStorageoperator= (clang::DirectoryEntryRef Ref)
 
- Public Member Functions inherited from clang::FileMgr::MapEntryOptionalStorage< clang::DirectoryEntryRef >
 MapEntryOptionalStorage ()
 
 MapEntryOptionalStorage (llvm::in_place_t, ArgTypes &&...Args)
 
void reset ()
 
bool has_value () const
 
bool hasValue () const
 
clang::DirectoryEntryRefvalue () &
 
const clang::DirectoryEntryRefvalue () const &
 
clang::DirectoryEntryRef && value () &&
 
clang::DirectoryEntryRefgetValue () &
 
const clang::DirectoryEntryRefgetValue () const &
 
clang::DirectoryEntryRef && getValue () &&
 
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 180 of file DirectoryEntry.h.

Constructor & Destructor Documentation

◆ OptionalStorage() [1/2]

llvm::optional_detail::OptionalStorage< clang::DirectoryEntryRef >::OptionalStorage ( )
default

◆ OptionalStorage() [2/2]

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

Definition at line 189 of file DirectoryEntry.h.

Member Function Documentation

◆ operator=()

OptionalStorage& llvm::optional_detail::OptionalStorage< clang::DirectoryEntryRef >::operator= ( clang::DirectoryEntryRef  Ref)
inline

Definition at line 192 of file DirectoryEntry.h.


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