From 637034c31857e149f1374abd64f54af5ad88a231 Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Thu, 23 Mar 2017 12:11:00 +0100 Subject: Clang: fix SEH exception against the documentation nullptr is not working here Change-Id: I6b5329ef97289370715faba8046724d5e42662ed Reviewed-by: Nikolai Kosjar --- .../clangrefactoringbackend/source/refactoringcompilationdatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 &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 -- cgit v1.2.1