]> granicus.if.org Git - clang/commit
clang-format: Understand that breaking before lambdas is fine.
authorDaniel Jasper <djasper@google.com>
Tue, 24 Jun 2014 09:15:49 +0000 (09:15 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 24 Jun 2014 09:15:49 +0000 (09:15 +0000)
commitb3120c13de381215e4cf7d150cbee2a8e516ce85
treeeec2f54113b6460e70efc1f157a64efc85a15cf2
parent9b31a3075faa589a6e16e5753b4c0897555dc02c
clang-format: Understand that breaking before lambdas is fine.

Before:
  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa([](
      const aaaaaaaaaa &a) { return a; });

After:
  aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(
      [](const aaaaaaaaaa &a) { return a; });

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