[cfe-dev] Detecting all variables from a class declaration

Victor Vicente de Carvalho victor.v.carvalho at gmail.com
Fri Jul 13 19:46:08 PDT 2012


Hi,

I'm looking for ways to detect all variable declarations from a class. I've
started using a recursive AST visitor but that would require me to manually
control the state of the the current parsing, which may become complicated
for some corner cases, so I'm asking for general directions on how to do
this using clang 3.1 or maybe trunk with it's new tooling.


Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120713/3a06cf49/attachment.html>


More information about the cfe-dev mailing list