class DependencyScanningService
Declaration
class DependencyScanningService { /* full declaration omitted */ };
Description
The dependency scanning service contains the shared state that is used by the invidual dependency scanning workers.
Declared at: clang/include/clang/Tooling/DependencyScanning/DependencyScanningService.h:45
Member Variables
- private const clang::tooling::dependencies::ScanningMode Mode
- private const clang::tooling::dependencies:: ScanningOutputFormat Format
- private const bool ReuseFileManager
- private const bool OptimizeArgs
- Whether to optimize the modules' command-line arguments.
- The global file system cache.
Method Overview
- public DependencyScanningService(clang::tooling::dependencies::ScanningMode Mode, clang::tooling::dependencies::ScanningOutputFormat Format, bool ReuseFileManager = true, bool OptimizeArgs = false)
- public bool canOptimizeArgs() const
- public bool canReuseFileManager() const
- public clang::tooling::dependencies::ScanningOutputFormat getFormat() const
- public clang::tooling::dependencies::ScanningMode getMode() const
- public clang::tooling::dependencies::DependencyScanningFilesystemSharedCache & getSharedCache()
Methods
¶DependencyScanningService(
clang::tooling::dependencies::ScanningMode
Mode,
clang::tooling::dependencies::
ScanningOutputFormat Format,
bool ReuseFileManager = true,
bool OptimizeArgs = false)
DependencyScanningService(
clang::tooling::dependencies::ScanningMode
Mode,
clang::tooling::dependencies::
ScanningOutputFormat Format,
bool ReuseFileManager = true,
bool OptimizeArgs = false)
Declared at: clang/include/clang/Tooling/DependencyScanning/DependencyScanningService.h:47
Parameters
- clang::tooling::dependencies::ScanningMode Mode
- clang::tooling::dependencies::ScanningOutputFormat Format
- bool ReuseFileManager = true
- bool OptimizeArgs = false
¶bool canOptimizeArgs() const
bool canOptimizeArgs() const
Declared at: clang/include/clang/Tooling/DependencyScanning/DependencyScanningService.h:57
¶bool canReuseFileManager() const
bool canReuseFileManager() const
Declared at: clang/include/clang/Tooling/DependencyScanning/DependencyScanningService.h:55
¶clang::tooling::dependencies::ScanningOutputFormat
getFormat() const
clang::tooling::dependencies::ScanningOutputFormat
getFormat() const
Declared at: clang/include/clang/Tooling/DependencyScanning/DependencyScanningService.h:53
¶clang::tooling::dependencies::ScanningMode
getMode() const
clang::tooling::dependencies::ScanningMode
getMode() const
Declared at: clang/include/clang/Tooling/DependencyScanning/DependencyScanningService.h:51
¶clang::tooling::dependencies::
DependencyScanningFilesystemSharedCache&
getSharedCache()
clang::tooling::dependencies::
DependencyScanningFilesystemSharedCache&
getSharedCache()
Declared at: clang/include/clang/Tooling/DependencyScanning/DependencyScanningService.h:59