]> granicus.if.org Git - clang/commit
clang-format: Fix range-based for-loop formatting.
authorDaniel Jasper <djasper@google.com>
Fri, 7 Feb 2014 10:09:46 +0000 (10:09 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 7 Feb 2014 10:09:46 +0000 (10:09 +0000)
commit7dc61d7338d65b39fcb9853de9c231f6d042f769
tree83677a83918711dbce79e30575e958171bf862b5
parent13b7d9f841d0494b5fbe85b94bae7393e05a3f5e
clang-format: Fix range-based for-loop formatting.

Before:
  for (aaaaaaaaa aaaaaaaaaaaaaaaaaaaaa : aaaaaaaaaaaa.aaaaaaaaaaaa()
           .aaaaaaaaa()
           .a()) {
  }

After:
  for (aaaaaaaaa aaaaaaaaaaaaaaaaaaaaa :
       aaaaaaaaaaaa.aaaaaaaaaaaa().aaaaaaaaa().a()) {
  }

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