klimek added a comment. Ok, after thinking about it a bit, here is a new plan:
- get rid of applyAllReplacementsAndFormat (in all its forms) - implement a formatRewrittenCode(Rewriter&, ...); as Daniel wants libFormat to stay file focused, we can put that into non-core libTooling; it'll figure out what to reformat from the rewriter state That should leave us with a set of single purpose functions we can nicely combine. http://reviews.llvm.org/D17761 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits