We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 115a6ec commit 0caee27Copy full SHA for 0caee27
llvm/lib/Support/VirtualFileSystem.cpp
@@ -1764,7 +1764,7 @@ ErrorOr<std::unique_ptr<File>>
1764
RedirectingFileSystem::openFileForRead(const Twine &Path) {
1765
ErrorOr<RedirectingFileSystem::Entry *> E = lookupPath(Path);
1766
if (!E) {
1767
- if (shouldUseExternalFS() &
+ if (shouldUseExternalFS() &&
1768
E.getError() == llvm::errc::no_such_file_or_directory) {
1769
return ExternalFS->openFileForRead(Path);
1770
}
0 commit comments