[cfe-dev] clang::idx -> 3.2 release

Douglas Gregor dgregor at apple.com
Mon Dec 17 11:59:31 PST 2012


On Dec 10, 2012, at 9:13 AM, Luis Ayuso <luis at dps.uibk.ac.at> wrote:

> Dear Clang Community
> 
> Recently we decided to port a tool which uses clang (llvm 3.0) to the latest version (llvm 3.2) and we had some trouble with the indexing tools.
> Previously there was a namespace clang::idx containing Index and Entity, which has disappeared.
> I'm wondering how can I use declarations Index with new versions.
> I need to find correct definition of a symbol in a set of different source files.


libclang can do this. Use the "USR" of a declaration to match it across different translation units.

	- Doug



More information about the cfe-dev mailing list