LLVM 17.0.0git
|
Represents the result of a path lookup into the RedirectingFileSystem. More...
#include "llvm/Support/VirtualFileSystem.h"
Public Member Functions | |
LookupResult (Entry *E, sys::path::const_iterator Start, sys::path::const_iterator End) | |
std::optional< StringRef > | getExternalRedirect () const |
If the found Entry maps the the input path to a path in the external file system (i.e. | |
Public Attributes | |
Entry * | E |
The entry the looked-up path corresponds to. | |
Represents the result of a path lookup into the RedirectingFileSystem.
Definition at line 874 of file VirtualFileSystem.h.
RedirectingFileSystem::LookupResult::LookupResult | ( | Entry * | E, |
sys::path::const_iterator | Start, | ||
sys::path::const_iterator | End | ||
) |
Definition at line 2225 of file VirtualFileSystem.cpp.
References llvm::sys::path::append(), assert(), and E.
|
inline |
If the found Entry maps the the input path to a path in the external file system (i.e.
it is a FileEntry or DirectoryRemapEntry), returns that path.
Definition at line 891 of file VirtualFileSystem.h.
References E.
Entry* llvm::vfs::RedirectingFileSystem::LookupResult::E |
The entry the looked-up path corresponds to.
Definition at line 876 of file VirtualFileSystem.h.
Referenced by getExternalRedirect(), and LookupResult().