]> granicus.if.org Git - clang/commit
clang-format: Remove empty lines at the beginning of blocks.
authorDaniel Jasper <djasper@google.com>
Fri, 21 Mar 2014 12:58:53 +0000 (12:58 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 21 Mar 2014 12:58:53 +0000 (12:58 +0000)
commit264449a16459a9e7dec30156ead109a7ac4fb347
tree5eab89fd3a3c9d850cb74a16ce15879bceaa8eb6
parent7a474af66601280b22668c9fcfea2b3266c317a0
clang-format: Remove empty lines at the beginning of blocks.

They very rarely aid readability.

Formatting:
  void f() {

    if (a) {

      f();

    }

  }

Now leads to:
  void f() {
    if (a) {
      f();
    }
  }

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