Skip to content

Commit 195a529

Browse files
committed
[clang][deps] NFC: Rename member variable
1 parent 4170ea9 commit 195a529

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ class DependencyScanningWorkerFilesystem : public llvm::vfs::ProxyFileSystem {
242242
DependencyScanningFilesystemSharedCache &SharedCache;
243243
/// The local cache is used by the worker thread to cache file system queries
244244
/// locally instead of querying the global cache every time.
245-
DependencyScanningFilesystemLocalCache Cache;
245+
DependencyScanningFilesystemLocalCache LocalCache;
246246
/// The optional mapping structure which records information about the
247247
/// excluded conditional directive skip mappings that are used by the
248248
/// currently active preprocessor.

clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ DependencyScanningWorkerFilesystem::getOrCreateFileSystemEntry(
161161
StringRef Filename) {
162162
bool ShouldBeMinimized = shouldMinimize(Filename);
163163

164-
const auto *Entry = Cache.getCachedEntry(Filename);
164+
const auto *Entry = LocalCache.getCachedEntry(Filename);
165165
if (Entry && !Entry->needsUpdate(ShouldBeMinimized))
166166
return EntryRef(ShouldBeMinimized, Entry);
167167

0 commit comments

Comments
 (0)