diff --git a/clang-tools-extra/clangd/tool/Check.cpp b/clang-tools-extra/clangd/tool/Check.cpp --- a/clang-tools-extra/clangd/tool/Check.cpp +++ b/clang-tools-extra/clangd/tool/Check.cpp @@ -255,6 +255,9 @@ auto Hover = getHover(*AST, Pos, Style, &Index); vlog(" hover: {0}", Hover.hasValue()); + unsigned DocHighlights = findDocumentHighlights(*AST, Pos).size(); + vlog(" documentHighlight: {0}", DocHighlights); + if (EnableCodeCompletion) { Position EndPos = offsetToPosition(Inputs.Contents, End); auto CC = codeComplete(File, EndPos, Preamble.get(), Inputs, CCOpts);