]> granicus.if.org Git - clang/commit
clang-format: Fix aligning of comments and escaped newlines in macros.
authorDaniel Jasper <djasper@google.com>
Fri, 28 Mar 2014 15:06:01 +0000 (15:06 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 28 Mar 2014 15:06:01 +0000 (15:06 +0000)
commit2c79e2c95bbe3bce5fbe19b1cc76c7dcea4002f8
tree8938030dd4a800f53d5960eb45faa8e3f0bb066f
parent37a9afe9ebdfc7643e4c15e8a7879bd5dec2aeb8
clang-format: Fix aligning of comments and escaped newlines in macros.

Before:
  #define A      \
    int i;   /*a*/ \
    int jjj; /*b*/

After:
  #define A        \
    int i;   /*a*/ \
    int jjj; /*b*/

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205011 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/WhitespaceManager.cpp
unittests/Format/FormatTest.cpp