]> granicus.if.org Git - clang/commit
clang-format: Fix bad multi-variable for-loop formatting.
authorDaniel Jasper <djasper@google.com>
Tue, 4 Oct 2016 20:18:25 +0000 (20:18 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 4 Oct 2016 20:18:25 +0000 (20:18 +0000)
commit9c15a0692d502cdd521dbfd0b5428c5f65a471f1
tree70f833f4c008dca00b976e46e1ff4422b236eba1
parente82fea9688c9abb86cb1e4998ba4c5cb40e52f19
clang-format: Fix bad multi-variable for-loop formatting.

Before:
  for (int*p, *q; p != q; p = p->next) {

After:
  for (int *p, *q; p != q; p = p->next) {

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