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

David Blaikie dblaikie at gmail.com
Thu Jun 21 09:49:45 PDT 2012


On Thu, Jun 21, 2012 at 9:15 AM, David Elrom <david.elrom at gmail.com> 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?

Nothing yet, but there's some initial design underway:
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2012-June/022028.html
(refer to the whole thread rather than just the initial post I'm
linking to, of course)




More information about the cfe-dev mailing list