clang 24.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 (DependencyScanningServiceOptions Opts)
 ~DependencyScanningService ()
const DependencyScanningServiceOptions & getOpts () const
DependencyScanningFilesystemSharedCache & getSharedCache ()
ModuleCacheEntries & getModuleCacheEntries ()
void addInvalidatedPath (StringRef Path)
 Add a path that changed since the previous scan, so that cached scanning modules depending on it are rebuilt.
AtomicLineLogger & getLogger ()

Detailed Description

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

Definition at line 113 of file DependencyScanningService.h.

Constructor & Destructor Documentation

◆ DependencyScanningService()

clang::dependencies::DependencyScanningService::DependencyScanningService ( DependencyScanningServiceOptions Opts)
inlineexplicit

◆ ~DependencyScanningService()

clang::dependencies::DependencyScanningService::~DependencyScanningService ( )
inline

Definition at line 121 of file DependencyScanningService.h.

Member Function Documentation

◆ addInvalidatedPath()

void clang::dependencies::DependencyScanningService::addInvalidatedPath ( StringRef Path)
inline

Add a path that changed since the previous scan, so that cached scanning modules depending on it are rebuilt.

Requires ValidateAgainstInvalidatedPaths.

Only directories are currently checked. Path is compared textually against ModuleDeps::DirectoryDeps, so it must be spelled the same way: absolute, with dots removed, and without resolving symlinks. It is never accessed on disk. Modules built since BuildSessionTimestamp are considered up to date with it.

Definition at line 143 of file DependencyScanningService.h.

◆ getLogger()

AtomicLineLogger & clang::dependencies::DependencyScanningService::getLogger ( )
inline

Definition at line 149 of file DependencyScanningService.h.

◆ getModuleCacheEntries()

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

Definition at line 132 of file DependencyScanningService.h.

◆ getOpts()

const DependencyScanningServiceOptions & clang::dependencies::DependencyScanningService::getOpts ( ) const
inline

◆ getSharedCache()

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

Definition at line 128 of file DependencyScanningService.h.


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