]> granicus.if.org Git - clang/commit
clang-format: Fix formatting of multiple lambdas in initializers.
authorDaniel Jasper <djasper@google.com>
Tue, 14 Jul 2015 11:26:14 +0000 (11:26 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 14 Jul 2015 11:26:14 +0000 (11:26 +0000)
commitf83c8a72dd70564bacaf2fb97d250262940111eb
treeda63f77d81602a76407fbdb7ede78e376b2fd44b
parent928084c346a98e965bd0ef7b43462f80d96db813
clang-format: Fix formatting of multiple lambdas in initializers.

Before:
  SomeFunction({[&] {
    // comment
  },
                [&] {
                  // comment
                }});

After:
  SomeFunction({[&] {
                  // comment
                },
                [&] {
                  // comment
                }});

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