sammccall added inline comments.

================
Comment at: clangd/FindSymbols.cpp:20
 
+#define DEBUG_TYPE "FindSymbols"
+
----------------
malaperle wrote:
> nit: I don't think this is used. Remove?
This is consumed by the LLVM_DEBUG macro. You can enable program-wide debug 
output with -debug, but much more useful is -debug-only=somestring which will 
only enable LLVM_DEBUG sections in files with the matching DEBUG_TYPE.

So here if you get mysterious ranking of `workspace/symbol` results, you can 
run clangd with `-debug-only=FindSymbols` and get the signals and component 
scores dumped to stderr.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D47821



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to