|
clang 22.0.0git
|
Reference to a CachedFileSystemEntry. More...
#include "clang/DependencyScanning/DependencyScanningFilesystem.h"
Public Member Functions | |
| EntryRef (StringRef Name, const CachedFileSystemEntry &Entry) | |
| llvm::vfs::Status | getStatus () const |
| bool | isError () const |
| bool | isDirectory () const |
| llvm::ErrorOr< EntryRef > | unwrapError () const |
| If the cached entry represents an error, promotes it into ErrorOr. | |
| StringRef | getContents () const |
| std::optional< ArrayRef< dependency_directives_scan::Directive > > | getDirectiveTokens () const |
Friends | |
| class | DependencyScanningWorkerFilesystem |
Reference to a CachedFileSystemEntry.
If the underlying entry is an opened file, this wrapper returns the file contents and the scanned preprocessor directives.
Definition at line 319 of file DependencyScanningFilesystem.h.
|
inline |
Definition at line 329 of file DependencyScanningFilesystem.h.
|
inline |
Definition at line 349 of file DependencyScanningFilesystem.h.
Referenced by getStatus().
|
inline |
Definition at line 352 of file DependencyScanningFilesystem.h.
|
inline |
Definition at line 332 of file DependencyScanningFilesystem.h.
References getContents().
|
inline |
Definition at line 340 of file DependencyScanningFilesystem.h.
|
inline |
Definition at line 339 of file DependencyScanningFilesystem.h.
Referenced by unwrapError().
|
inline |
If the cached entry represents an error, promotes it into ErrorOr.
Definition at line 343 of file DependencyScanningFilesystem.h.
References isError().
Referenced by clang::dependencies::DependencyScanningWorkerFilesystem::getOrCreateFileSystemEntry().
|
friend |
Definition at line 326 of file DependencyScanningFilesystem.h.
References DependencyScanningWorkerFilesystem.
Referenced by DependencyScanningWorkerFilesystem.