]> granicus.if.org Git - clang/commit
clang-format: Improve format of calls with several lambdas.
authorDaniel Jasper <djasper@google.com>
Wed, 9 Apr 2014 12:08:39 +0000 (12:08 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 9 Apr 2014 12:08:39 +0000 (12:08 +0000)
commit94096ad523611aa4c139c88ac5ec8985b46d6b1b
tree29e4299bef14538ba4204c706173e1cd2710655e
parent2f53df4e28343bccc4b53a961589f25a67423eb9
clang-format: Improve format of calls with several lambdas.

Before:
  SomeFunction([]() {
                 int i = 42;
                 return i;
               },
               []() {
    int j = 43;
    return j;
  });

After:
  SomeFunction([]() {
                 int i = 42;
                 return i;
               },
               []() {
                 int j = 43;
                 return j;
               });

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