[clang-tools-extra] r295305 - [clangd] Fix Output.log error

Krasimir Georgiev via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 16 02:53:27 PST 2017


Author: krasimir
Date: Thu Feb 16 04:53:27 2017
New Revision: 295305

URL: http://llvm.org/viewvc/llvm-project?rev=295305&view=rev
Log:
[clangd] Fix Output.log error

Modified:
    clang-tools-extra/trunk/clangd/ProtocolHandlers.cpp

Modified: clang-tools-extra/trunk/clangd/ProtocolHandlers.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/ProtocolHandlers.cpp?rev=295305&r1=295304&r2=295305&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/ProtocolHandlers.cpp (original)
+++ clang-tools-extra/trunk/clangd/ProtocolHandlers.cpp Thu Feb 16 04:53:27 2017
@@ -108,7 +108,7 @@ void TextDocumentOnTypeFormattingHandler
     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;
   }
 




More information about the cfe-commits mailing list