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)
commita2fb50f9b3eefae4146d001365a29d4a86c41fbe
treed2af83f3e6fdf58fcc0d55a5746ce017c0e14d22
parentad8065f01a900cd6663e10f8fd857a0aba934bf8
clang-format: Understand that breaking before lambdas is fine.

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

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

llvm-svn: 211575
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTest.cpp