]> granicus.if.org Git - clang/commit
First step towards correctly formatting lambdas.
authorManuel Klimek <klimek@google.com>
Tue, 3 Sep 2013 15:10:01 +0000 (15:10 +0000)
committerManuel Klimek <klimek@google.com>
Tue, 3 Sep 2013 15:10:01 +0000 (15:10 +0000)
commitb61a8afba4120f5f1f1af4c7d2a6646a65bd8020
tree76ebc3debab88633c568b5ab7d462002e27e36b8
parentb2b169aef03109a3a08bd93cba72894a83288dc4
First step towards correctly formatting lambdas.

Implements parsing of lambdas in the UnwrappedLineParser.
This introduces the correct line breaks; the formatting of
lambda captures are still incorrect, and the braces are also
still formatted as if they were braced init lists instead of
blocks.

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