bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#57996: 28.2; imenu doesn't differentiate overloaded c++ functions


From: Philip Kaludercic
Subject: bug#57996: 28.2; imenu doesn't differentiate overloaded c++ functions
Date: Sun, 02 Oct 2022 13:13:16 +0000

"Chris Hecker" <checker@d6.com> writes:

> With this dumb c++ file:
> ----
> int Function( int n ) {
>   return n;
> }
> int Function( float v ) {
>   return (int)(v + 0.5);
> }
> ----
>
> Hitting imenu only gives a single Function entry.  It should probably
> give two, maybe with a line number after them like "Function(123)" or
> whatever.  Currently there's no way to get to the second Function from
> imenu.

Note that this is not the case when using Eglot and a LSP server like
clangd.

I've CC'ed Alan to see if he knows how this could be done by c++-mode
itself.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]