[cfe-dev] Getting USRs in a C++ library
dgregor at apple.com
Fri Apr 13 10:29:07 PDT 2012
On Apr 13, 2012, at 10:25 AM, Argyrios Kyrtzidis <kyrtzidis at apple.com> wrote:
> On Apr 13, 2012, at 10:09 AM, Manuel Klimek wrote:
>> Hi Doug,
>> we've found that for some of the large scale analysis we run USRs
>> would be great to have;
>> currently they're buried as implementation details of libclang though.
>> Would it make sense to pull them out into a library, and have libclang
>> be a thin wrapper around the (already C++) implementation? If yes,
>> into which library would we want to put it?
> Currently libIndex is effectively dead code. I'd suggest removing what it currently has and pulling in such kind of stuff from libclang.
I just killed the index library. I think it's fine to pull some of the implementation details of libclang up into the other libraries. USR generation, for example, could even reasonably live in AST.
More information about the cfe-dev