And find the related AST in the documentation and see if it has a
member getType() defined
for it. It could be in the AST or one of its base classes.
On Aug 17, 2010, at 3:24 PM, manavender reddy wrote:
> Hi all,
> How can i get the type of variable for eg. const int x = 1;
> How can i get information that x is const and int. I have pointer to
> DeclStmt, from that i can get VarDecl. I am stuck after that.
> cfe-dev mailing list
> [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev