clang 18.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). | |
This class is a local cache, that caches the 'stat' and 'open' calls to the underlying real file system.
Definition at line 212 of file DependencyScanningFilesystem.h.
|
inline |
Returns entry associated with the filename or nullptr if none is found.
Definition at line 217 of file DependencyScanningFilesystem.h.
References Filename.
|
inline |
Associates the given entry with the filename and returns the given entry pointer (for convenience).
Definition at line 226 of file DependencyScanningFilesystem.h.
References Filename.