[Lldb-commits] [PATCH] Add a .clang-format file to enhance formatting experience with clang-format

Reid Kleckner rnk at google.com
Tue Jul 22 15:26:53 PDT 2014


On Tue, Jul 22, 2014 at 2:52 PM, <jingham at apple.com> wrote:

> Well, tools are produced for use as Hildy Johnson notes...
>
> If folks want to use this as an after the fact emacs mode on code they are
> adding, I don't mind.  But touching a file doesn't mean you should also
> "fix up" its formatting with such a tool.  As long as THAT is part of our
> coding conventions, I guess I can't object.
>

Yes. clang-format is intended to be used interactively, i.e. change this
line, now reflow it. People who reformat entire files after the fact and
introduce tons of unnecessary changes are Doing It Wrong, IMO.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140722/3c4f23c7/attachment.html>


More information about the lldb-commits mailing list