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 1aefabe commit 34ebdafCopy full SHA for 34ebdaf
clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp
@@ -65,7 +65,7 @@ void ModelInjector::onBodySynthesis(const NamedDecl *D) {
65
else
66
fileName = llvm::StringRef(D->getName().str() + ".model");
67
68
- if (!llvm::sys::fs::exists(fileName.str())) {
+ if (!CI.getVirtualFileSystem().exists(fileName)) {
69
Bodies[D->getName()] = nullptr;
70
return;
71
}
0 commit comments