Browse Source

Removed code made redundant by the simplified parsing of libraries.

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
pull/600/head
Dimitar Dobrev 10 years ago
parent
commit
0b93c17b39
  1. 4
      src/CppParser/Parser.cpp

4
src/CppParser/Parser.cpp

@ -3357,10 +3357,6 @@ ParserResult* Parser::ParseLibrary(const std::string& File, ParserResult* res) @@ -3357,10 +3357,6 @@ ParserResult* Parser::ParseLibrary(const std::string& File, ParserResult* res)
return res;
}
C.reset(new clang::CompilerInstance());
C->createFileManager();
auto &FM = C->getFileManager();
llvm::StringRef FileEntry;
for (unsigned I = 0, E = Opts->LibraryDirs.size(); I != E; ++I)

Loading…
Cancel
Save