[cfe-dev] Obtaining variable references in an expression
abetts at doc.ic.ac.uk
Fri Feb 17 04:42:34 PST 2012
What is the best way to obtain the variable references in an expression?
For instance, from:
x = y + 10 * z
I want to obtain:
x, y, z
I realise this could be done through an AST visit, but I wondered if there
is a way I could do it through the existing API?
View this message in context: http://clang-developers.42468.n3.nabble.com/Obtaining-variable-references-in-an-expression-tp3753542p3753542.html
Sent from the Clang Developers mailing list archive at Nabble.com.
More information about the cfe-dev