more verbose dump() in AST visitor?

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?