[PATCH] D92157: [clangd] Add language metrics for recovery AST usage.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 7 00:10:58 PST 2020


sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang-tools-extra/clangd/Selection.cpp:44
+    return;
+  const char *LanguageLabel = Lang.CPlusPlus ? "C++" : Lang.ObjC ? "ObjC" : "C";
   static constexpr trace::Metric SelectionUsedRecovery(
----------------
This classifies objc++ as c++.
Not necessarily a problem, up to you


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92157



More information about the cfe-commits mailing list