clang 18.0.0git
|
Wrapper around OptionalDirectoryEntryRef that degrades to 'const DirectoryEntry*', facilitating incremental patches to propagate DirectoryEntryRef. More...
#include "clang/Basic/DirectoryEntry.h"
Additional Inherited Members | |
![]() | |
using | value_type = DirectoryEntryRef |
Wrapper around OptionalDirectoryEntryRef that degrades to 'const DirectoryEntry*', facilitating incremental patches to propagate DirectoryEntryRef.
This class can be used as return value or field where it's convenient for an OptionalDirectoryEntryRef to degrade to a 'const DirectoryEntry*'. The purpose is to avoid code churn due to dances like the following:
FIXME: Once DirectoryEntryRef is "everywhere" and DirectoryEntry::LastRef and DirectoryEntry::getName have been deleted, delete this class and replace instances with OptionalDirectoryEntryRef.
Definition at line 272 of file DirectoryEntry.h.
|
default |
|
default |
|
default |
|
inline |
Definition at line 285 of file DirectoryEntry.h.
|
inline |
Definition at line 286 of file DirectoryEntry.h.
|
inline |
Definition at line 288 of file DirectoryEntry.h.
|
inline |
Degrade to 'const DirectoryEntry *' to allow DirectoryEntry::LastRef and DirectoryEntry::getName have been deleted, delete this class and replace instances with OptionalDirectoryEntryRef.
Definition at line 310 of file DirectoryEntry.h.
References clang::CustomizableOptional< DirectoryEntryRef >::has_value().
|
default |
|
inline |
Definition at line 297 of file DirectoryEntry.h.
References clang::CustomizableOptional< DirectoryEntryRef >::operator=().
|
inline |
Definition at line 302 of file DirectoryEntry.h.
References clang::CustomizableOptional< DirectoryEntryRef >::operator=().
|
default |
|
inline |
Definition at line 293 of file DirectoryEntry.h.
References clang::CustomizableOptional< DirectoryEntryRef >::operator=().