[PATCH] D17761: Added applyAllReplacementsAndFormat that works for multiple files.

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 2 00:59:19 PST 2016

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.


More information about the cfe-commits mailing list