[cfe-dev] HOWTO: visit initializers via libclang
seefeld at sympatico.ca
Tue Jan 25 08:05:31 PST 2011
I'm trying to translate initializers (such as from function parameter or
template parameter default values), but right now those are hidden
behind an "UnexposedExpr". Is there some way to change that so I can
access the initializer expression ?
Right now I'm mostly just interested into a stringified version, though
eventually I would also like to extract the value, for cases where this
is a compile-time expression.
Is this possible ?
...ich hab' noch einen Koffer in Berlin...
More information about the cfe-dev