[PATCH] D131295: [clangd] Implement textDocument/codeLens
Trass3r via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 17 03:02:36 PST 2022
Trass3r added a comment.
One remaining issue is multiple lenses for template code like
template <int V>
int i = 0;
template int i<0>;
template int i<1>;
template int i<2>;
template <int V>
struct Foo {
int foo(); // I see 3 codelenses here
};
template struct Foo<0>;
template struct Foo<1>;
int main()
{
// return Foo<0>().foo() + Foo<1>().foo();
// return i<0> + i<1> + i<2>;
}
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