|
clang 24.0.0git
|
The configuration knobs for the dependency scanning service. More...
#include "clang/DependencyScanning/DependencyScanningService.h"
Public Member Functions | |
| DependencyScanningServiceOptions () | |
Public Attributes | |
| std::function< IntrusiveRefCntPtr< llvm::vfs::FileSystem >()> | MakeVFS |
| The function invoked to create each worker's VFS. | |
| ScanningMode | Mode = ScanningMode::DependencyDirectivesScan |
| Whether to use optimized dependency directive scan or full preprocessing. | |
| ScanningOptimizations | OptimizeArgs = ScanningOptimizations::Default |
| How to optimize resulting explicit module command lines. | |
| bool | EmitWarnings = true |
| Whether the scanner should emit warnings. | |
| bool | ReportAbsolutePaths = true |
| Whether to make reported file paths absolute. | |
| bool | ReportVisibleModules = false |
| Whether to report modules visible from modules that are imported directly. | |
| bool | EagerLoadModules = false |
| Whether the resulting command lines should load explicit PCMs eagerly. | |
| bool | TraceVFS = false |
| Whether to trace VFS accesses during the scan. | |
| bool | AsyncScanModules = false |
| Whether to scan modules asynchronously. | |
| std::time_t | BuildSessionTimestamp |
| The build session timestamp for validate-once-per-build-session logic. | |
| bool | FlushModuleCache = true |
| Whether to automatically flush the module cache from memory to disk at the end of the service lifetime. | |
| bool | CacheNegativeStats = shouldCacheNegativeStatsDefault() |
| Whether the caching VFS should cache missing filesystem entries. | |
| std::string | LogPath |
| The path to a log file, which logs timing of actions performed by the dependency scanner. | |
The configuration knobs for the dependency scanning service.
Definition at line 71 of file DependencyScanningService.h.
| DependencyScanningServiceOptions::DependencyScanningServiceOptions | ( | ) |
Definition at line 41 of file DependencyScanningService.cpp.
References MakeVFS.
Whether to scan modules asynchronously.
Definition at line 94 of file DependencyScanningService.h.
| std::time_t clang::dependencies::DependencyScanningServiceOptions::BuildSessionTimestamp |
The build session timestamp for validate-once-per-build-session logic.
Definition at line 96 of file DependencyScanningService.h.
Referenced by clang::dependencies::createScanCompilerInvocation().
| bool clang::dependencies::DependencyScanningServiceOptions::CacheNegativeStats = shouldCacheNegativeStatsDefault() |
Whether the caching VFS should cache missing filesystem entries.
Definition at line 101 of file DependencyScanningService.h.
Whether the resulting command lines should load explicit PCMs eagerly.
Definition at line 90 of file DependencyScanningService.h.
Whether the scanner should emit warnings.
Definition at line 84 of file DependencyScanningService.h.
Referenced by clang::dependencies::initializeScanCompilerInstance().
Whether to automatically flush the module cache from memory to disk at the end of the service lifetime.
Definition at line 99 of file DependencyScanningService.h.
| std::string clang::dependencies::DependencyScanningServiceOptions::LogPath |
The path to a log file, which logs timing of actions performed by the dependency scanner.
Definition at line 104 of file DependencyScanningService.h.
| std::function<IntrusiveRefCntPtr<llvm::vfs::FileSystem>()> clang::dependencies::DependencyScanningServiceOptions::MakeVFS |
The function invoked to create each worker's VFS.
This function and the VFS itself must be thread-safe whenever using multiple workers concurrently or whenever AsyncScanModules is true.
Definition at line 78 of file DependencyScanningService.h.
Referenced by DependencyScanningServiceOptions().
| ScanningMode clang::dependencies::DependencyScanningServiceOptions::Mode = ScanningMode::DependencyDirectivesScan |
Whether to use optimized dependency directive scan or full preprocessing.
Definition at line 80 of file DependencyScanningService.h.
Referenced by clang::dependencies::initializeScanCompilerInstance().
| ScanningOptimizations clang::dependencies::DependencyScanningServiceOptions::OptimizeArgs = ScanningOptimizations::Default |
How to optimize resulting explicit module command lines.
Definition at line 82 of file DependencyScanningService.h.
Referenced by clang::dependencies::createScanCompilerInvocation().
Whether to make reported file paths absolute.
Definition at line 86 of file DependencyScanningService.h.
Whether to report modules visible from modules that are imported directly.
Definition at line 88 of file DependencyScanningService.h.
Whether to trace VFS accesses during the scan.
Definition at line 92 of file DependencyScanningService.h.