]> granicus.if.org Git - clang/commit
clang-format: Indent relative to the ./-> and not the function name.
authorDaniel Jasper <djasper@google.com>
Tue, 7 Apr 2015 06:41:24 +0000 (06:41 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 7 Apr 2015 06:41:24 +0000 (06:41 +0000)
commit9cd825068909c28092df9d563e944c42dc4c6ee7
tree62bb689370bf9ed1cd5264bc6caa44fc8471024c
parentba273a2094255d53095a0dbba6a85fc54cc2b068
clang-format: Indent relative to the ./-> and not the function name.

Before:
  aaaaaaaaaaa     //
      .aaaa(      //
           bbbb)  // This is different ..
      .aaaa(      //
          cccc);  // .. from this.

After:
  aaaaaaaaaaa     //
      .aaaa(      //
          bbbb)   // This is identical ..
      .aaaa(      //
          cccc);  // .. to this.

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