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)
commit9dedc775d7b436e5f8f961413c3fd867ea8be53e
tree6a4a1adc9a322bdac1304173cc44d1cc7dfb797c
parent2be1bbea7ec6f74f1415912005c05992548d06b6
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.

llvm-svn: 234300
clang/lib/Format/ContinuationIndenter.cpp
clang/unittests/Format/FormatTest.cpp
clang/unittests/Format/FormatTestJava.cpp