[cfe-dev] Proposal: A "Const tool" for clang

Olivier Goffart ogoffart at kde.org
Tue Feb 5 08:57:36 PST 2013

On Tuesday 05 February 2013 10:39:21 Joshua Cranmer wrote:
> On 2/5/2013 1:06 AM, Sean Silva wrote:
> > This seems pretty ambitious. AFAIK nobody has even written a robust
> > and useful tool based on Clang that coherently lets you pick a
> > function and see all the call sites in a codebase (otherwise I would
> > be using it!).
> DXR can, although it has a problem trying to output the results of clang
> due to the lexer tests breaking the internal tokenizer. And resolving
> virtual edges along the callgraph appears to have broken again (sigh).
> See <https://github.com/mozilla/dxr> for source.
> As a side note, I've also been working on integrating documentation
> output (akin to Doxygen) with this tool.

I made http://code.woboq.org that lets you see all the use of a symbol in the 
tooltips.  (and also the documentation)

More information about the cfe-dev mailing list