[cfe-dev] Iterating through an Expression in the Clang AST

beni sonaldanak at gmail.com
Sat Feb 9 16:14:46 PST 2013


Hi,

I want to iterate through an Expression while visiting the nodes in the
Clang AST. Using the function VisitExpr(),
I am able to visit various expressions, but I wish to find sub expessions
for analysis.

Eg. given an expression: 3+A+B, I wish to iterate through this expression
and visit 3,A and B.

Does anyone have any idea how this can be done?

Thanks



--
View this message in context: http://clang-developers.42468.n3.nabble.com/Iterating-through-an-Expression-in-the-Clang-AST-tp4030389.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list