[clang-tools-extra] [clangd] Add metric for rename decl kind (PR #83867)
kadir çetinkaya via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 5 04:08:25 PST 2024
================
@@ -1072,6 +1072,10 @@ llvm::Expected<RenameResult> rename(const RenameInputs &RInputs) {
if (Reject)
return makeError(*Reject);
+ static constexpr trace::Metric RenameTriggerCounter(
----------------
kadircet wrote:
can you do this at line 1065 instead? that way we can better track all the requests, and not just the succesfully served ones. (to guide us for improving the cases that are popular but don't work)
https://github.com/llvm/llvm-project/pull/83867
More information about the cfe-commits
mailing list