[PATCH] D75603: [clangd] Add instrumentation mode in clangd for metrics collection.

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 4 06:44:41 PST 2020


kadircet added inline comments.


================
Comment at: clang-tools-extra/clangd/CodeComplete.cpp:1465
+    if (Opts.EnableInstrumentationMode)
+      (*Opts.RecordCCResults)(toCodeCompleteResult(Top));
+
----------------
can't we make use of the trace::Span instead ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75603





More information about the cfe-commits mailing list