[PATCH] D153670: [clang/HeaderSearch] Make sure `loadSubdirectoryModuleMaps` doesn't cause loading of regular files
Ben Langmuir via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 23 15:52:53 PDT 2023
benlangmuir added inline comments.
================
Comment at: clang/unittests/Tooling/DependencyScannerTest.cpp:274
+ llvm::ErrorOr<std::unique_ptr<llvm::vfs::File>>
+ openFileForRead(const Twine &Path) override {
+ ReadFiles.push_back(Path.str());
----------------
Should we add `status` override as well? I think we don't want to stat it either.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153670/new/
https://reviews.llvm.org/D153670
More information about the cfe-commits
mailing list