summaryrefslogtreecommitdiffstats
path: root/clangd/ProtocolHandlers.cpp
diff options
context:
space:
mode:
authorKrasimir Georgiev <krasimir@google.com>2017-02-16 10:53:27 +0000
committerKrasimir Georgiev <krasimir@google.com>2017-02-16 10:53:27 +0000
commit3ff1a15da5d3c5cca0aff87d7297dcb8281788fa (patch)
tree188ea37345a10e200b747ea670da2758647cf87d /clangd/ProtocolHandlers.cpp
parent616e3839b349f3f4711093137c396e87701a65cc (diff)
[clangd] Fix Output.log error
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@295305 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clangd/ProtocolHandlers.cpp')
-rw-r--r--clangd/ProtocolHandlers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clangd/ProtocolHandlers.cpp b/clangd/ProtocolHandlers.cpp
index 8ec5f4ae..b1e636a9 100644
--- a/clangd/ProtocolHandlers.cpp
+++ b/clangd/ProtocolHandlers.cpp
@@ -108,7 +108,7 @@ void TextDocumentOnTypeFormattingHandler::handleMethod(
llvm::yaml::MappingNode *Params, StringRef ID) {
auto DOTFP = DocumentOnTypeFormattingParams::parse(Params);
if (!DOTFP) {
- Output.logs() << "Failed to decode DocumentOnTypeFormattingParams!\n";
+ Output.log("Failed to decode DocumentOnTypeFormattingParams!\n");
return;
}