On Fri, Dec 11, 2015 at 2:11 PM Todd Fiala via lldb-commits <
lldb-commits@lists.llvm.org> wrote:

> On Fri, Dec 11, 2015 at 2:02 PM, Eugene Zelenko <eugene.zele...@gmail.com>
> wrote:
>
>> Hi, Todd!
>>
>> As far as I know Clang-format doesn't leave spaces. Somebody pointed
>> to old discussion on this matter, but I forgot it locations :-(
>>
>> I think will be good idea to implement automatic run of Clang-format
>> as pre-commit hook, since LLDB code have too much diversity in code
>> formatting for single project.
>>
>
> I like the pre-commit hook idea.  Have we attempted to pursue this in the
> past?
>

Biggest problem with commit hook is that it will format lines that you
specifically don't want formatted.  See for example all the option tables
in Command*.cpp files
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to