]> granicus.if.org Git - clang/commit
clang-format: Improve alignment after 'return'.
authorDaniel Jasper <djasper@google.com>
Mon, 30 Sep 2013 08:29:03 +0000 (08:29 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 30 Sep 2013 08:29:03 +0000 (08:29 +0000)
commitf78bf4a0132a3ea366ba3baadd9d6af26c617d11
treec0e90c09fa00fd53818693fdf9a71c4e2cfb8eee
parent144fe706a0303860c03406e4d090e2f2191dfd0e
clang-format: Improve alignment after 'return'.

Previously, comments, could totally confuse it.

Before:
  return
             // true if code is one of a or b.
             code == a ||
         code == b;

After:
  return
      // true if code is one of a or b.
      code == a || code == b;

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