clang 20.0.0git
|
This class is a local cache, that caches the 'stat' and 'open' calls to the underlying real file system. More...
#include "clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h"
Public Member Functions | |
const CachedFileSystemEntry * | findEntryByFilename (StringRef Filename) const |
Returns entry associated with the filename or nullptr if none is found. | |
const CachedFileSystemEntry & | insertEntryForFilename (StringRef Filename, const CachedFileSystemEntry &Entry) |
Associates the given entry with the filename and returns the given entry pointer (for convenience). | |
const CachedRealPath * | findRealPathByFilename (StringRef Filename) const |
Returns real path associated with the filename or nullptr if none is found. | |
const CachedRealPath & | insertRealPathForFilename (StringRef Filename, const CachedRealPath &RealPath) |
Associates the given real path with the filename and returns the given entry pointer (for convenience). | |
This class is a local cache, that caches the 'stat' and 'open' calls to the underlying real file system.
Definition at line 230 of file DependencyScanningFilesystem.h.
|
inline |
Returns entry associated with the filename or nullptr if none is found.
Definition at line 238 of file DependencyScanningFilesystem.h.
References Filename.
|
inline |
Returns real path associated with the filename or nullptr if none is found.
Definition at line 263 of file DependencyScanningFilesystem.h.
References Filename.
Referenced by clang::tooling::dependencies::DependencyScanningWorkerFilesystem::getRealPath().
|
inline |
Associates the given entry with the filename and returns the given entry pointer (for convenience).
Definition at line 247 of file DependencyScanningFilesystem.h.
References Filename.
|
inline |
Associates the given real path with the filename and returns the given entry pointer (for convenience).
Definition at line 272 of file DependencyScanningFilesystem.h.
References Filename.
Referenced by clang::tooling::dependencies::DependencyScanningWorkerFilesystem::getRealPath().