[cfe-dev] Decl to Entity conversion

Manuel Klimek klimek at google.com
Fri Apr 13 01:58:56 PDT 2012


To do cross-TU referencing the optimal thing would probably be USRs
(see http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CIndexUSRs.cpp?revision=152536&view=markup).

They seem coupled to libclang though, so I don't know how useful they
are when you want to use them from a clang plugin... Others may be
able to give context here.

Cheers,
/Manuel

On Fri, Apr 13, 2012 at 7:59 AM, akshay ratnaparkhi <ackk007 at gmail.com> wrote:
> Hi all,
>    Can any one tell me how can i convert the clang::Decl to
> clang::idx::Entity?
> Is clang::idx::Entity is useful to find the functions from different
> translation unit?
>
> thanks
>  akshay
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>




More information about the cfe-dev mailing list