forked from qt-creator/qt-creator
Clang: fix SEH exception
against the documentation nullptr is not working here Change-Id: I6b5329ef97289370715faba8046724d5e42662ed Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
committed by
Nikolai Kosjar
parent
7347bad4de
commit
637034c318
@@ -83,7 +83,7 @@ void RefactoringCompilationDatabase::addFile(const std::string &directory,
|
||||
const std::vector<std::string> &commandLine)
|
||||
{
|
||||
#if LLVM_VERSION_MAJOR >= 4
|
||||
compileCommands.emplace_back(directory, fileName, commandLine, nullptr);
|
||||
compileCommands.emplace_back(directory, fileName, commandLine, std::string());
|
||||
#else
|
||||
compileCommands.emplace_back(directory, fileName, commandLine);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user