clang 22.0.0git
clang::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/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 82 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 14 of file DependencyScanningService.cpp.

Member Function Documentation

◆ getBuildSessionTimestamp()

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

◆ getFormat()

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

◆ getMode()

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

◆ getModuleCacheEntries()

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

Definition at line 105 of file DependencyScanningService.h.

◆ getOptimizeArgs()

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

◆ getSharedCache()

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

Definition at line 101 of file DependencyScanningService.h.

◆ shouldEagerLoadModules()

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

Definition at line 97 of file DependencyScanningService.h.

◆ shouldTraceVFS()

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

Definition at line 99 of file DependencyScanningService.h.


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