HighCommander4 wrote:

> Seems to be template-related.
> 
> test.hpp:
> 
> ```c++
> template <typename T>
> struct templated {
>   // comment
>   void foo();
> };
> struct nontemplated {
>   // comment
>   void foo();
> };
> ```
> 
> test.cpp:
> 
> ```c++
> #include "main.hpp"
> void foo() {
>   nontemplated n;
>   n.f^   // comment is shown
>   templated<int> t;
>   t.f^  // comment is not shown
> }
> ```
Filed https://github.com/clangd/clangd/issues/2290 as a follow-up to track this 
remaining issue with templated methods.

https://github.com/llvm/llvm-project/pull/120099
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to