Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Getting at the PDOM

Hi Alan,
you can retrieve information from the index via the IIndex-API
(search for the interface IIndex as a starting point). 
The Call-Hierarchy or the Type-Hierarchy can serve as examples
on how to use the API.

Markus.

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Alan Conway
> Sent: Dienstag, 13. Februar 2007 03:41
> To: CDT General developers list.
> Subject: [cdt-dev] Getting at the PDOM
> 
> Apologies in advance if this is not the right list for this question.
> 
> I've got some ideas for better C++ tools and I've decided to 
> get off my
> backside and write some. I've checked out the CVS and started poking
> around but I'm hoping to get a few strategic pointers to make 
> my search
> shorter - any existing classes or demos that do things like 
> finding out
> what types are defined/used/referred to in a file or 
> conversely finding
> where a given type is defined/used/referred to.
> 
> More detail if you're still reading: My first project is a #include
> optimizer: to improve compile times I want .h files to #include as
> little as possible, and forward declare as much as possible. 
> This can be
> largely automated if you have the full parse tree (templates are a bit
> tricky.)  I've done some mucking about with gccxml as my parser but
> embedding this into eclipse seems like more fun.
> 
> If anyone is already working on something like this I'd love to know
> about it, I have more projects if its already taken :)
> 
> Thanks,
> Alan.
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 


Back to the top