clang 22.0.0git
clang::tooling::dependencies::DependencyScanningService Class Reference

The dependency scanning service contains shared configuration and state that is used by the individual dependency scanning workers. More...

#include "clang/Tooling/DependencyScanning/DependencyScanningService.h"

Public Member Functions

 DependencyScanningService (ScanningMode Mode, ScanningOutputFormat Format, ScanningOptimizations OptimizeArgs=ScanningOptimizations::Default, bool EagerLoadModules=false, bool TraceVFS=false, std::time_t BuildSessionTimestamp=llvm::sys::toTimeT(std::chrono::system_clock::now()))
ScanningMode getMode () const
ScanningOutputFormat getFormat () const
ScanningOptimizations getOptimizeArgs () const
bool shouldEagerLoadModules () const
bool shouldTraceVFS () const
DependencyScanningFilesystemSharedCachegetSharedCache ()
ModuleCacheEntriesgetModuleCacheEntries ()
std::time_t getBuildSessionTimestamp () const

Detailed Description

The dependency scanning service contains shared configuration and state that is used by the individual dependency scanning workers.

Definition at line 83 of file DependencyScanningService.h.

Constructor & Destructor Documentation

◆ DependencyScanningService()

DependencyScanningService::DependencyScanningService ( ScanningMode Mode,
ScanningOutputFormat Format,
ScanningOptimizations OptimizeArgs = ScanningOptimizations::Default,
bool EagerLoadModules = false,
bool TraceVFS = false,
std::time_t BuildSessionTimestamp = llvm::sys::toTimeT(std::chrono::system_clock::now()) )

Definition at line 15 of file DependencyScanningService.cpp.

Member Function Documentation

◆ getBuildSessionTimestamp()

std::time_t clang::tooling::dependencies::DependencyScanningService::getBuildSessionTimestamp ( ) const
inline

◆ getFormat()

ScanningOutputFormat clang::tooling::dependencies::DependencyScanningService::getFormat ( ) const
inline

◆ getMode()

ScanningMode clang::tooling::dependencies::DependencyScanningService::getMode ( ) const
inline

Definition at line 92 of file DependencyScanningService.h.

◆ getModuleCacheEntries()

ModuleCacheEntries & clang::tooling::dependencies::DependencyScanningService::getModuleCacheEntries ( )
inline

Definition at line 106 of file DependencyScanningService.h.

◆ getOptimizeArgs()

ScanningOptimizations clang::tooling::dependencies::DependencyScanningService::getOptimizeArgs ( ) const
inline

◆ getSharedCache()

DependencyScanningFilesystemSharedCache & clang::tooling::dependencies::DependencyScanningService::getSharedCache ( )
inline

Definition at line 102 of file DependencyScanningService.h.

◆ shouldEagerLoadModules()

bool clang::tooling::dependencies::DependencyScanningService::shouldEagerLoadModules ( ) const
inline

Definition at line 98 of file DependencyScanningService.h.

◆ shouldTraceVFS()

bool clang::tooling::dependencies::DependencyScanningService::shouldTraceVFS ( ) const
inline

Definition at line 100 of file DependencyScanningService.h.


The documentation for this class was generated from the following files: