forked from OSchip/llvm-project
[clang][deps] NFC: Rename member variable
This commit is contained in:
parent
4170ea9445
commit
195a5294c2
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue