[clangd] Include debugging tags for both static and dynamic index. NFC
llvm-svn: 322379
diff --git a/clang-tools-extra/clangd/CodeComplete.cpp b/clang-tools-extra/clangd/CodeComplete.cpp
index 48522eb..e2fc501 100644
--- a/clang-tools-extra/clangd/CodeComplete.cpp
+++ b/clang-tools-extra/clangd/CodeComplete.cpp
@@ -671,10 +671,10 @@
// engine).
if (Opts.Index)
completeWithIndex(Ctx, *Opts.Index, Contents, *CompletedName.SSInfo,
- CompletedName.Filter, &Results);
+ CompletedName.Filter, &Results, /*DebuggingLabel=*/"D");
if (Opts.StaticIndex)
completeWithIndex(Ctx, *Opts.StaticIndex, Contents, *CompletedName.SSInfo,
- CompletedName.Filter, &Results, /*DebuggingLabel=*/"G");
+ CompletedName.Filter, &Results, /*DebuggingLabel=*/"S");
}
return Results;
}