]> granicus.if.org Git - clang/commit
clang-format: Fix column layout with a comment in the last line.
authorDaniel Jasper <djasper@google.com>
Wed, 15 Jul 2015 16:26:47 +0000 (16:26 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 15 Jul 2015 16:26:47 +0000 (16:26 +0000)
commitbfbaed9ca73cba98737766f0145ffd8c7838895b
tree8c9165cc99078f6ac3823d8fde16293085a2e433
parent83bcf1c6654c6a2b4ee3fcccd4ac6668f87a11d5
clang-format: Fix column layout with a comment in the last line.

Before:
  int aaaaa[] = {
      1, 2,
      3, // comment
      4, 5,
      6  // comment
  };

After:
  int aaaaa[] = {
      1, 2, 3, // comment
      4, 5, 6  // comment
  };

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