[cfe-dev] type_of_the_stmt

redder_0210 redder_0210 at yeah.net
Sun May 6 19:09:04 PDT 2012

Dear all,
I am interested in the visit on the detailed type of the statement.
For example, 
long i;
i = 1.1;
The second statement is a BinaryOperator, and the "i" is of type "long int". But I don't know how to get the type of "i" through the APIs of Clang(because the APIs are complicated for me). Could you tell some details in how to obtain the specific type of a node of AST?

By Redder.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120507/083e9a6e/attachment.html>

More information about the cfe-dev mailing list