aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorArtem Chikin <achikin@apple.com>2024-04-12 14:46:56 -0700
committerGitHub <noreply@github.com>2024-04-12 14:46:56 -0700
commit779ba60417b467a6d2d25101b11711c009694315 (patch)
tree82cb4d4ccaa11fd21d82d5dbf8a2aa6b4337a9f7 /clang/lib/Basic/Module.cpp
parentdb8e182952573fa9198424a6ed1b1bb1676eae62 (diff)
downloadllvm-779ba60417b467a6d2d25101b11711c009694315.zip
llvm-779ba60417b467a6d2d25101b11711c009694315.tar.gz
llvm-779ba60417b467a6d2d25101b11711c009694315.tar.bz2
[clang][deps] Overload `Filesystem::exists` in `DependencyScanningFilesystem` to have it use cached `status` (#88152)
As-is, calls to `exists()` fallback on the implementation in `ProxyFileSystem::exists` which explicitly calls out to the underlying `FS`, which for the `DependencyScanningFilesystem` (overlay) is the real underlying filesystem. Instead, directly overloading `exists` allows us to have it rely on the cached `status` behavior used elsewhere by the `DependencyScanningFilesystem`.
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions