[cfe-dev] How to get symbol's info. when the symbol is in macro instantiation
jiyang zhao
zjyzhaojiyang at yahoo.com.cn
Tue Jan 25 00:30:07 PST 2011
Hi list
I meet a problem about macro when using libclang, when i want to get a viriable's infomation which is in a macro instantiation, for example, its linkage kind, i get 200(UnexposedStmt), is this the expected result? If so, how can i get the exact information of the symbol(e.g. previous in following code, SETARG_B is macro)?
//example
SETARG_B(*previous, from+n-1);
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110125/deac4b3f/attachment.html>
More information about the cfe-dev
mailing list