[cfe-users] Is there any base container for VarDeclExpr

Hemant Bhagat via cfe-users cfe-users at lists.llvm.org
Mon Dec 26 20:31:04 PST 2016


For the following declaration expression

int I, j, k = 10;
^                    ^

Is there any base container in clang AST for the above complete expression.
I have generated the AST for the above expression and what I see is there is not common expression for all three variables.
Each variable I, j, k I get separate varDeclVisitor.

Is there any way to traverse the complete expression and then individual variable?


DISCLAIMER :- This e-mail may contain privileged and confidential information which is the property of Acellere GmbH and its associated companies. It is intended only for the use of the individual or entity to whom it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Acellere GmbH and its associated companies does not accept any liability for virus infected mails.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20161227/970b8d8b/attachment.html>

More information about the cfe-users mailing list