[clang-tools-extra] 0e5706d - [clangd] Correct the elog message, NFC.
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Thu May 14 05:15:45 PDT 2020
Author: Haojian Wu
Date: 2020-05-14T14:15:21+02:00
New Revision: 0e5706d018762f4ab4d895ba268bb6444ae04884
URL: https://github.com/llvm/llvm-project/commit/0e5706d018762f4ab4d895ba268bb6444ae04884
DIFF: https://github.com/llvm/llvm-project/commit/0e5706d018762f4ab4d895ba268bb6444ae04884.diff
LOG: [clangd] Correct the elog message, NFC.
Added:
Modified:
clang-tools-extra/clangd/CodeComplete.cpp
Removed:
################################################################################
diff --git a/clang-tools-extra/clangd/CodeComplete.cpp b/clang-tools-extra/clangd/CodeComplete.cpp
index 4c7f1457518c..0abe023c57a5 100644
--- a/clang-tools-extra/clangd/CodeComplete.cpp
+++ b/clang-tools-extra/clangd/CodeComplete.cpp
@@ -1777,7 +1777,7 @@ SignatureHelp signatureHelp(PathRef FileName,
const SymbolIndex *Index) {
auto Offset = positionToOffset(Contents, Pos);
if (!Offset) {
- elog("Code completion position was invalid {0}", Offset.takeError());
+ elog("Signature help position was invalid {0}", Offset.takeError());
return SignatureHelp();
}
SignatureHelp Result;
More information about the cfe-commits
mailing list