[PATCH] D74395: [clangd] Add tracer to the rename workflow, NFC

Kirill Bobyrev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 13 00:41:41 PST 2020


kbobyrev added inline comments.


================
Comment at: clang-tools-extra/clangd/refactor/Rename.cpp:345
+
+    SPAN_ATTACH(Tracer, FileAndOccurrences.first(),
+                static_cast<int64_t>(Ranges.size()));
----------------
A tracer message here would be helpful!


================
Comment at: clang-tools-extra/clangd/refactor/Rename.cpp:627
 
   if (Indexed.size() > Lexed.size()) {
     vlog("The number of lexed occurrences is less than indexed occurrences");
----------------
Maybe add the tracer here, too?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74395/new/

https://reviews.llvm.org/D74395





More information about the cfe-commits mailing list