[cfe-dev] Expr walk up? Looking for Enum name not value?

steveneliuk s.eliuk at samsung.com
Mon Apr 29 14:23:20 PDT 2013


hmm, not much luck there.

>From an expression I can traverse the subexpressions/args with
clang::CallExpr::arg_iterator argIt = CE->arg_begin(). As mentioned in the
first post, this gives the value of the enum and I need the name as included
in the original source code,

I see no good method looking at the Expr class for Clang,

If someone has anymore directional advice, or a solution, I would greatly
appreciate it... burning too many cycles on this.

Kindest Regards,




--
View this message in context: http://clang-developers.42468.n3.nabble.com/Expr-walk-up-Looking-for-Enum-name-not-value-tp4031582p4031821.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list