[cfe-users] clang-format, only horizontal whitespace changes
dblaikie at gmail.com
Fri Nov 22 08:51:42 PST 2013
On Fri, Nov 22, 2013 at 5:02 AM, Björn Töpel <bjorn.topel at gmail.com> wrote:
> I have a code project that I'd like to re-indent using
> clang-format,however, in order not to break the history, I'd like to
> make the tool *only* format horizontally (e.g. git log -b -w will
> just ignore the re-indentation commit).
> So it would be a "best effort" re-indent - doing the best it can, but
> only horizontally (still removing extra spaces in parenthesis pair
> Is this possible?
No - that's not an existing feature of clang-format. It might be an
interesting one to consider adding, though.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-users