[PATCH] D76429: [clangd] Fix elog message when preamble build fails.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 19 07:32:21 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG55b92dcb35a0: [clangd] Fix elog message when preamble build fails. (authored by adamcz, committed by sammccall).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76429/new/

https://reviews.llvm.org/D76429

Files:
  clang-tools-extra/clangd/Preamble.cpp


Index: clang-tools-extra/clangd/Preamble.cpp
===================================================================
--- clang-tools-extra/clangd/Preamble.cpp
+++ clang-tools-extra/clangd/Preamble.cpp
@@ -162,7 +162,7 @@
         SerializedDeclsCollector.takeMacros(), std::move(StatCache),
         SerializedDeclsCollector.takeCanonicalIncludes());
   } else {
-    elog("Could not build a preamble for file {0} version {2}", FileName,
+    elog("Could not build a preamble for file {0} version {1}", FileName,
          Inputs.Version);
     return nullptr;
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76429.251377.patch
Type: text/x-patch
Size: 562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200319/f28a20ee/attachment-0001.bin>


More information about the cfe-commits mailing list