[cfe-dev] Clang indexer for code completion, high level ide integration

Joshua Cranmer pidgeot18 at gmail.com
Thu Jun 21 09:19:29 PDT 2012

On 6/21/2012 12:15 PM, David Elrom wrote:
> Hello,
> (This is my first thread, so please go easy on me.)
> After a few searches, I've been unable to find any mention of a clang 
> based indexer meant for integration with IDEs (sans a thread from 2010).
> This is something that has always bothered me (and probably others). 
> There should be no need for an independent indexer (eg ctags) for ide 
> purposes. Rather, the same parse tree / symbol table etc available to 
> the compiler should be used.
> As I understand it, people have written their own because teasing that 
> data out of gcc is a pain.
> Is there such a mechanism in place in clang?
> Where would be a good place in the code to start?

Have you looked into DXR? <https://wiki.mozilla.org/DXR>

Joshua Cranmer
News submodule owner
DXR coauthor

More information about the cfe-dev mailing list