[cfe-commits] r171732 - in /cfe/trunk: include/clang/Format/Format.h lib/Format/Format.cpp lib/Format/UnwrappedLineParser.cpp lib/Format/UnwrappedLineParser.h unittests/Format/FormatTest.cpp

Chandler Carruth chandlerc at google.com
Mon Jan 7 05:33:39 PST 2013


FYI

On Mon, Jan 7, 2013 at 5:26 AM, Daniel Jasper <djasper at google.com> wrote:

> -      FormatTok.HasUnescapedNewline =
> -          Text.count("\\\n") != FormatTok.NewlinesBefore;
> +      FormatTok.HasUnescapedNewline = Text.count("\\\n") !=
> +                                      FormatTok.NewlinesBefore;
>

This doesn't seem as good as the rest of the changes. Here I agree with
your strategy of breaking the outer most binary operator. That's why I was
trying to differentiate between function arguments being broken after an
'=' and breaking a binary operator...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130107/9da8217d/attachment.html>


More information about the cfe-commits mailing list