clang-format: Fix another bug in wrapping around "*".
authorDaniel Jasper <djasper@google.com>
Thu, 19 Mar 2015 09:40:16 +0000 (09:40 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 19 Mar 2015 09:40:16 +0000 (09:40 +0000)
commit414c9c6fb07a8917d8c180c42d006a9729c65057
tree55fb8113d9c8a357a93fc4ce1277eb452db6a2bd
parentd0c480b04c60d0288a44f56aa0d4e48d6bccf63f
clang-format: Fix another bug in wrapping around "*".

Before:
  void aaaaa(
      aaaaaaaaaaaaaaaaaaaaaaaaaa) {} // even violation the column limit

After:
  void aaaaa(aaaaaaaaaaaa*
                 aaaaaaaaaaaaaa) {}

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