Add extra indentation for multiline comparisons.
authorDaniel Jasper <djasper@google.com>
Wed, 20 Mar 2013 12:37:50 +0000 (12:37 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 20 Mar 2013 12:37:50 +0000 (12:37 +0000)
commitd1ae3588c66089564abdbc30a1b020dbbf50ae99
treeda13ba830d013371e1012a5cffba5ef72ca6f045
parentccbdea956f24c2c0021945b93cf9311690af9993
Add extra indentation for multiline comparisons.

This seems to be generally more desired.

Before:
if (aaaaaaaa &&
    bbbbbbbb >
    cccccccc) {}
After:
if (aaaaaaaa &&
    bbbbbbbb >
        cccccccc) {}

Also: Some formatting cleanup on clang-format's files.
llvm-svn: 177514
clang/lib/Format/Format.cpp
clang/lib/Format/TokenAnnotator.cpp
clang/lib/Format/UnwrappedLineParser.cpp
clang/unittests/Format/FormatTest.cpp