[cfe-dev] Getting the unique ID for a clang::Decl

Raboudi Amel via cfe-dev cfe-dev at lists.llvm.org
Fri Aug 12 09:29:10 PDT 2016


Hi All,

I am using clang C++ API's to parse a source code and then generates its
AST.
I need for that to find a way to uniquely identify my AST declarations.

refering to this Doxygen Documentation:
http://clang.llvm.org/doxygen/classclang_1_1Decl.html#a57cf20fc798dae7f5fba3e21d455df6b

the getGlobalID() function must do the task, but, it returns nothing.

Can anyone helps me to find this unique ID in clang's C++ APIs?

Thank you !
Amel


ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160812/9be8bdab/attachment.html>


More information about the cfe-dev mailing list