]> granicus.if.org Git - clang/commit
clang-format: Allow breaking between trailing annotations in more cases.
authorDaniel Jasper <djasper@google.com>
Wed, 9 Apr 2014 10:29:11 +0000 (10:29 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 9 Apr 2014 10:29:11 +0000 (10:29 +0000)
commit2f53df4e28343bccc4b53a961589f25a67423eb9
tree752ad42d06b2e8ac36b62a53f3111c6d7a4243e5
parent4d9a6735c124dc1812288bc2eec82cc00048d5b0
clang-format: Allow breaking between trailing annotations in more cases.

Before:
  void aaaaaaaaaaaaaa(aaaaaaaa aaa) override AAAAAAAAAAAAAAAAAAAAAAAA(
      aaaaaaaaaaaaaaa);

After:
  void aaaaaaaaaaaaaa(aaaaaaaa aaa) override
      AAAAAAAAAAAAAAAAAAAAAAAA(aaaaaaaaaaaaaaa);

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