llvm-project/clang/lib/Format
Daniel Jasper e662316994 clang-format: Prefer wrapping a lambda's body over the lambda's return type.
Before:
  aaaaaaaaaaaaaaaaaaaaaa(
      [](aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa &aaa)
          -> aaaaaaaaaaaaaaaaaaaaa { return aaaaaaaaaaaaaaaaa; });

After:
  aaaaaaaaaaaaaaaaaaaaaa(
      [](aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa &aaa) -> aaaaaaaaaaaaaaaaaaaaa {
        return aaaaaaaaaaaaaaaaa;
      });

llvm-svn: 230942
2015-03-02 10:35:13 +00:00
..
BreakableToken.cpp clang-format: Fix crasher when splitting incomplete escape sequences. 2015-01-21 19:50:35 +00:00
BreakableToken.h Fix assertion in BreakableBlockComment (http://llvm.org/PR21916). 2015-01-12 13:11:12 +00:00
CMakeLists.txt clang-format: Factor out UnwrappedLineFormatter into a separate file. 2014-12-10 19:00:42 +00:00
ContinuationIndenter.cpp clang-format: Make braced list formatting more consistent. 2015-02-26 11:46:29 +00:00
ContinuationIndenter.h clang-format: Revamp nested block formatting. 2014-12-12 09:40:58 +00:00
Encoding.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
Format.cpp clang-format: Change location of stashed token 2015-02-24 23:23:24 +00:00
FormatToken.cpp clang-format: Fix crash on invalid code. 2015-01-19 10:51:42 +00:00
FormatToken.h clang-format: [js] Support template strings. 2015-02-20 13:47:38 +00:00
Makefile
TokenAnnotator.cpp clang-format: Prefer wrapping a lambda's body over the lambda's return type. 2015-03-02 10:35:13 +00:00
TokenAnnotator.h clang-format: Always align */& in multi-var DeclStmts. 2015-03-01 18:55:26 +00:00
UnwrappedLineFormatter.cpp clang-format: Format Objective-C try blocks like all the other try blocks. 2015-02-07 01:57:32 +00:00
UnwrappedLineFormatter.h clang-format: [JS] Support classes. 2015-02-18 17:14:05 +00:00
UnwrappedLineParser.cpp Add missing include. 2015-03-01 21:36:40 +00:00
UnwrappedLineParser.h clang-format: [js] Support ES6 module exports. 2015-02-19 16:14:18 +00:00
WhitespaceManager.cpp clang-format: Fix crasher caused by not properly setting dry-run. 2015-01-29 10:47:14 +00:00
WhitespaceManager.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00