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

WangWei via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 21 18:19:15 PST 2022


lightmelodies added a comment.

In D131295#3935759 <https://reviews.llvm.org/D131295#3935759>, @Trass3r wrote:

> Yeah quite complex: https://godbolt.org/z/8T5Pqadro

Not very hard with a track of visited decls. It should also reslove other duplicate codelens.
https://github.com/lightmelodies/llvm-project/blob/b7d664bff5fcafb5a0758b73cd0b77e64cacb03c/clang-tools-extra/clangd/CodeLens.cpp#L69


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