LLVM: llvm::vfs::RedirectingFileSystem::LookupResult Struct Reference (original) (raw)
Represents the result of a path lookup into the RedirectingFileSystem. More...
#include "[llvm/Support/VirtualFileSystem.h](VirtualFileSystem%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| LLVM_ABI | LookupResult (Entry *E, sys::path::const_iterator Start, sys::path::const_iterator End) |
| std::optional< StringRef > | getExternalRedirect () const |
| If the found Entry maps the input path to a path in the external file system (i.e. | |
| LLVM_ABI void | getPath (llvm::SmallVectorImpl< char > &Path) const |
| Get the (canonical) path of the found entry. |
| Public Attributes | |
|---|---|
| llvm::SmallVector< Entry *, 32 > | Parents |
| Chain of parent directory entries for E. | |
| Entry * | E |
| The entry the looked-up path corresponds to. |
Represents the result of a path lookup into the RedirectingFileSystem.
Definition at line 916 of file VirtualFileSystem.h.
◆ getExternalRedirect()
| std::optional< StringRef > llvm::vfs::RedirectingFileSystem::LookupResult::getExternalRedirect ( ) const | inline |
|---|
◆ getPath()
◆ E
Entry* llvm::vfs::RedirectingFileSystem::LookupResult::E
◆ Parents
The documentation for this struct was generated from the following files:
- include/llvm/Support/VirtualFileSystem.h
- lib/Support/VirtualFileSystem.cpp