[cfe-dev] accessing struct's members

ret val retval386 at gmail.com
Mon Oct 24 13:04:11 PDT 2011


I'm using a RecursiveASTVisitor and implementing its VisitDecl()
method. Once I find one thats a stuct(by calling isStructureType()),
how can I iterate over its members?

Ive looked for uses of isStructureType() in the sources, expecting to
see it before getting its members and so far I haven't found any
examples.

Thanks



More information about the cfe-dev mailing list