clang-format: Fix column limit violation for merged lines in macros.
authorDaniel Jasper <djasper@google.com>
Fri, 7 Feb 2014 13:45:27 +0000 (13:45 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 7 Feb 2014 13:45:27 +0000 (13:45 +0000)
commit649899685bfbfeea8c9ae10a3420eef016ea1ede
tree8641833315ac93791e15e93392f12e10fa9321c5
parent6128d0005255902b6062c79ef64cd8ac005dd83d
clang-format: Fix column limit violation for merged lines in macros.

Before (81 columns):
  #define A                                                                       \
    void aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa() { return aaaaaaaa; } \
    int i;

After:
  #define A                                                    \
    void aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa() { \
      return aaaaaaaa;                                         \
    }                                                          \
    int i;

llvm-svn: 200974
clang/lib/Format/Format.cpp
clang/unittests/Format/FormatTest.cpp