[clang][deps] NFC: Rename member variable

This commit is contained in:
Jan Svoboda 2021-12-17 13:30:38 +01:00
parent 4170ea9445
commit 195a5294c2
2 changed files with 2 additions and 2 deletions

View File

@ -242,7 +242,7 @@ private:
DependencyScanningFilesystemSharedCache &SharedCache;
/// The local cache is used by the worker thread to cache file system queries
/// locally instead of querying the global cache every time.
DependencyScanningFilesystemLocalCache Cache;
DependencyScanningFilesystemLocalCache LocalCache;
/// The optional mapping structure which records information about the
/// excluded conditional directive skip mappings that are used by the
/// currently active preprocessor.

View File

@ -161,7 +161,7 @@ DependencyScanningWorkerFilesystem::getOrCreateFileSystemEntry(
StringRef Filename) {
bool ShouldBeMinimized = shouldMinimize(Filename);
const auto *Entry = Cache.getCachedEntry(Filename);
const auto *Entry = LocalCache.getCachedEntry(Filename);
if (Entry && !Entry->needsUpdate(ShouldBeMinimized))
return EntryRef(ShouldBeMinimized, Entry);