[PATCH] D131295: [clangd] Implement textDocument/codeLens

Trass3r via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 7 08:55:12 PST 2022


Trass3r added inline comments.


================
Comment at: clang-tools-extra/clangd/CodeLens.cpp:93
+      if (auto Loc = declToLocation(P->getCanonicalDecl()))
+        Super.locations.emplace_back(*Loc);
+    }
----------------
As noted in the previous PR it may be of low value, I guess only if override is missing or if it actually hides several functions.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131295



More information about the cfe-commits mailing list