A reference to a DirectoryEntry
that includes the name of the directory as it was accessed by the FileManager's client.
More...
#include "clang/Basic/DirectoryEntry.h"
A reference to a DirectoryEntry
that includes the name of the directory as it was accessed by the FileManager's client.
Definition at line 54 of file DirectoryEntry.h.
◆ MapEntry
◆ DirectoryEntryRef() [1/2]
clang::DirectoryEntryRef::DirectoryEntryRef |
( |
| ) |
|
|
delete |
◆ DirectoryEntryRef() [2/2]
clang::DirectoryEntryRef::DirectoryEntryRef |
( |
const MapEntry & |
ME | ) |
|
|
inline |
◆ getDirEntry()
const DirectoryEntry & clang::DirectoryEntryRef::getDirEntry |
( |
| ) |
const |
|
inline |
◆ getMapEntry()
const MapEntry & clang::DirectoryEntryRef::getMapEntry |
( |
| ) |
const |
|
inline |
◆ getName()
StringRef clang::DirectoryEntryRef::getName |
( |
| ) |
const |
|
inline |
◆ isSameRef()
◆ operator const DirectoryEntry *()
Allow DirectoryEntryRef to degrade into 'const DirectoryEntry*' to facilitate incremental adoption.
The goal is to avoid code churn due to dances like the following:
lvalue = rvalue;
lvalue = &rvalue.getDirectoryEntry();
lvalue = rvalue;
FIXME: Once DirectoryEntryRef is "everywhere" and DirectoryEntry::getName has been deleted, delete this implicit conversion.
Definition at line 93 of file DirectoryEntry.h.
◆ FileMgr::MapEntryOptionalStorage< DirectoryEntryRef >
◆ hash_value
◆ llvm::DenseMapInfo< DirectoryEntryRef >
The documentation for this class was generated from the following file: