diff --git a/clang-tools-extra/clangd/Preamble.cpp b/clang-tools-extra/clangd/Preamble.cpp index bd92b8c1bdb43..fdee71fd22449 100644 --- a/clang-tools-extra/clangd/Preamble.cpp +++ b/clang-tools-extra/clangd/Preamble.cpp @@ -162,7 +162,7 @@ buildPreamble(PathRef FileName, CompilerInvocation &CI, 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; }