clang
10.0.0git
|
A virtual file system optimized for the dependency discovery. More...
#include "clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h"
Public Member Functions | |
DependencyScanningWorkerFilesystem (DependencyScanningFilesystemSharedCache &SharedCache, IntrusiveRefCntPtr< llvm::vfs::FileSystem > FS, ExcludedPreprocessorDirectiveSkipMapping *PPSkipMappings) | |
llvm::ErrorOr< llvm::vfs::Status > | status (const Twine &Path) override |
llvm::ErrorOr< std::unique_ptr< llvm::vfs::File > > | openFileForRead (const Twine &Path) override |
Public Attributes | |
llvm::StringSet | IgnoredFiles |
The set of files that should not be minimized. More... | |
A virtual file system optimized for the dependency discovery.
It is primarily designed to work with source files whose contents was was preprocessed to remove any tokens that are unlikely to affect the dependency computation.
This is not a thread safe VFS. A single instance is meant to be used only in one thread. Multiple instances are allowed to service multiple threads running in parallel.
Definition at line 143 of file DependencyScanningFilesystem.h.
|
inline |
Definition at line 145 of file DependencyScanningFilesystem.h.
|
override |
Definition at line 259 of file DependencyScanningFilesystem.cpp.
References Filename.
|
override |
Definition at line 199 of file DependencyScanningFilesystem.cpp.
References Filename.
llvm::StringSet clang::tooling::dependencies::DependencyScanningWorkerFilesystem::IgnoredFiles |
The set of files that should not be minimized.
Definition at line 157 of file DependencyScanningFilesystem.h.