summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@qt.io>2017-03-23 12:11:00 +0100
committerNikolai Kosjar <nikolai.kosjar@qt.io>2017-03-23 11:34:36 +0000
commit637034c31857e149f1374abd64f54af5ad88a231 (patch)
tree80fdef12a50d3eeb543c9b30acd8badbc7db531d
parent7347bad4de39829c51c08dc6b0c1c751d0a17e9a (diff)
downloadqt-creator-637034c31857e149f1374abd64f54af5ad88a231.tar.gz
Clang: fix SEH exception
against the documentation nullptr is not working here Change-Id: I6b5329ef97289370715faba8046724d5e42662ed Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
-rw-r--r--src/tools/clangrefactoringbackend/source/refactoringcompilationdatabase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clangrefactoringbackend/source/refactoringcompilationdatabase.cpp b/src/tools/clangrefactoringbackend/source/refactoringcompilationdatabase.cpp
index 24061fb7fb..38d89a39d0 100644
--- a/src/tools/clangrefactoringbackend/source/refactoringcompilationdatabase.cpp
+++ b/src/tools/clangrefactoringbackend/source/refactoringcompilationdatabase.cpp
@@ -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