Files
clang-p2996/clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
Artem Chikin 779ba60417 [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`.
2024-04-12 14:46:56 -07:00

17 KiB