summaryrefslogtreecommitdiffstats
path: root/clangd/GlobalCompilationDatabase.cpp
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2017-11-30 23:21:34 +0000
committerSam McCall <sam.mccall@gmail.com>2017-11-30 23:21:34 +0000
commit6f250f705d384f21677d1efcbfad8993c797424c (patch)
treeda5d17052345d22a050e37e703182defd6a1a5c2 /clangd/GlobalCompilationDatabase.cpp
parentdfec5ffbb4b4a855e7dd9c66e3f35a96c1675eb1 (diff)
[clangd] Logger implicitly adds newline
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@319497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clangd/GlobalCompilationDatabase.cpp')
-rw-r--r--clangd/GlobalCompilationDatabase.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clangd/GlobalCompilationDatabase.cpp b/clangd/GlobalCompilationDatabase.cpp
index 1db3e66a..9dd59879 100644
--- a/clangd/GlobalCompilationDatabase.cpp
+++ b/clangd/GlobalCompilationDatabase.cpp
@@ -100,8 +100,7 @@ DirectoryBasedGlobalCompilationDatabase::getCompilationDatabase(PathRef File) {
tryLoadDatabaseFromPath(CompileCommandsDir.getValue());
if (ReturnValue == nullptr)
Logger.log("Failed to find compilation database for " + Twine(File) +
- "in overriden directory " + CompileCommandsDir.getValue() +
- "\n");
+ "in overriden directory " + CompileCommandsDir.getValue());
return ReturnValue;
}
@@ -114,7 +113,7 @@ DirectoryBasedGlobalCompilationDatabase::getCompilationDatabase(PathRef File) {
return CDB;
}
- Logger.log("Failed to find compilation database for " + Twine(File) + "\n");
+ Logger.log("Failed to find compilation database for " + Twine(File));
return nullptr;
}