[cfe-dev] How to identify pointer variable declarations in C source while traversing with ASTConsumer?

jignesh vasoya jigneshvasoya at gmail.com
Fri Mar 11 02:19:12 PST 2011


Hi,
how can i differentiate between normal variable declaration and pointer
variable declaration?

For example,
int i;
int *p;

is there any flag in VarDecl class that will be set to true if declaration
is of pointer kind?

-- 
*------------------------------------------------------------*
*Jignesh Vasoya*
248-Pampa Hostel,
IIT Madras,
India.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110311/06679981/attachment.html>


More information about the cfe-dev mailing list