build: update source code to use Clang 5.0
This commit is contained in:
@@ -209,8 +209,9 @@ std::shared_ptr<clang::tooling::FixedCompilationDatabase> CxxParser::getCompilat
|
||||
argv[i] = args[i].c_str();
|
||||
}
|
||||
|
||||
std::string errorMessage;
|
||||
std::shared_ptr<clang::tooling::FixedCompilationDatabase> compilationDatabase(
|
||||
clang::tooling::FixedCompilationDatabase::loadFromCommandLine(argc, argv)
|
||||
clang::tooling::FixedCompilationDatabase::loadFromCommandLine(argc, argv, errorMessage)
|
||||
);
|
||||
|
||||
delete[] argv;
|
||||
|
||||
Reference in New Issue
Block a user