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 5dcdfa6 commit 72709dcCopy full SHA for 72709dc
src/CppParser/Parser.cpp
@@ -4356,7 +4356,7 @@ ParserResult* Parser::ParseLibrary(const std::string& File)
4356
return res;
4357
}
4358
4359
- llvm::StringRef FileEntry;
+ llvm::StringRef FileEntry("");
4360
4361
for (unsigned I = 0, E = opts->LibraryDirs.size(); I != E; ++I)
4362
{
@@ -4368,7 +4368,7 @@ ParserResult* Parser::ParseLibrary(const std::string& File)
4368
break;
4369
4370
4371
- if (FileEntry.empty() || !llvm::sys::fs::exists(FileEntry))
+ if (FileEntry.empty())
4372
4373
res->kind = ParserResultKind::FileNotFound;
4374
0 commit comments