[cfe-dev] more verbose dump() in AST visitor?

Peeter Joot peeter.joot at gmail.com
Thu Feb 21 15:17:42 PST 2013

I can get a simple member dumper in an AST visitor doing only:

bool VisitCXXRecordDecl( CXXRecordDecl * r )
   if ( r->isThisDeclarationADefinition() )
      r->dump() ;

   return true ;

Is there a way to have this include the field sizes and offsets too?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130221/f40cafa3/attachment.html>

More information about the cfe-dev mailing list