]> granicus.if.org Git - clang/commit
clang-format: Don't split a >>-operator.
authorDaniel Jasper <djasper@google.com>
Tue, 17 Sep 2013 08:15:46 +0000 (08:15 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 17 Sep 2013 08:15:46 +0000 (08:15 +0000)
commit26356ccf00f813cf358d420b55939fc737eb2cfa
tree262778f4c09a33d752551224d663a44511c195ae
parent85bfef69f96425b07a300e513797953165434cb8
clang-format: Don't split a >>-operator.

Before (with column limit 60):
  aaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaaaaaa >
      > aaaaa);

After:
  aaaaaaaaaaaaaaaaaaaaaaaaaaaa(
      aaaaaaaaaaaaaaaaaaaaaaaaaaaaa >> aaaaa);

(Not sure how that could have stayed in that long without being
detected..)

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