forked from OSchip/llvm-project
Add documentHighlight in clangd check for performance measurements.
Differential Revision: https://reviews.llvm.org/D125682
This commit is contained in:
parent
9203063531
commit
5edd7665fd
|
@ -255,6 +255,9 @@ public:
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue