[cfe-commits] [PATCH] Add -ast-dump-depth option

Dmitri Gribenko gribozavr at gmail.com
Mon Nov 5 12:25:46 PST 2012


  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



More information about the cfe-commits mailing list