]> granicus.if.org Git - clang/commit
Improve handling of trailing block comments.
authorDaniel Jasper <djasper@google.com>
Mon, 4 Feb 2013 07:32:14 +0000 (07:32 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 4 Feb 2013 07:32:14 +0000 (07:32 +0000)
commit2752ff35854b295837b8088e44d5a932be60e107
tree14651849ce8cd0a36f00d0e8eaa2879f6cb718fd
parent8159d2f271c9142b46a672ac2c45821911171a7d
Improve handling of trailing block comments.

We can now (even in non-bin-packing modes) format:
someFunction(1, /* comment 1 */
             2, /* comment 2 */
             3, /* comment 3 */
             aaa);

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