Re: How to show overloaded functions with semantic-idle-summary-mode

"Eric M. Ludlam" <[email protected]>
Newsgroups gmane.emacs.cedet
Message-ID <[email protected]>
On 09/11/2014 12:42 AM, Tu Do wrote:
> Hi Eric,
>
> semantic-idle-summary-mode works fine in C since C does not have
> overloaded functions. However, in C++ multiple function with different
> interfaces using the same name exist. Does semantic-idle-summary-mode
> handle this situation?

I believe that when multiple of the same thing exist, there is a simple 
algorithm to pick the "best", but it is too simple for what you want.

semantic-analyze-select-best-tag has the related doc.  I've always 
thought it needed to get the local context information and could use 
that to do what you want, but never got that far.  I don't think it's 
hard to figure out, it will just be complex and need a long running set 
of unit tests to go with it.

Eric

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.