Just a general comment. Sorry, but I don't see a usecase for this functionality. Probably some developers have different needs, so sorry if I misunderstand this.
If I want to limit the amount of information dumped, node nesting depth is not a useful criteria. Something like a 'terse mode' that I added skips AST nodes based on some semantic criteria, essentially dumping only the requested decl. Another useful mode would be to just skip function bodies. http://llvm-reviews.chandlerc.com/D98 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
