llvm-project/clang/lib/Format
Daniel Jasper 6f2b88a398 clang-format: More eagerly wrap trailing return types.
Before:
  template <typename T>
  auto aaaaaaaaaaaaaaaaaaaaaa(T t) -> decltype(eaaaaaaaaaaaaaaa<T>(t.a)
                                                   .aaaaaaaa());

After:
  template <typename T>
  auto aaaaaaaaaaaaaaaaaaaaaa(T t)
      -> decltype(eaaaaaaaaaaaaaaa<T>(t.a).aaaaaaaa());

Also add a test case for a difficult template parsing case I stumbled accross.
Needs fixing.

llvm-svn: 239149
2015-06-05 13:18:09 +00:00
..
BreakableToken.cpp clang-format: Fix bug in multiline comment wrapping. 2015-05-06 07:17:22 +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: More eagerly wrap trailing return types. 2015-06-05 13:18:09 +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 Remove error message when using the fallback style. 2015-06-02 11:52:15 +00:00
FormatToken.cpp clang-format: Guard the bin-packing in braced lists on BinPackArguments 2015-05-26 07:26:26 +00:00
FormatToken.h clang-format: [JS] Support ES6 computed property names. 2015-05-29 06:19:49 +00:00
Makefile
TokenAnnotator.cpp clang-format: More eagerly wrap trailing return types. 2015-06-05 13:18:09 +00:00
TokenAnnotator.h clang-format: Always align */& in multi-var DeclStmts. 2015-03-01 18:55:26 +00:00
UnwrappedLineFormatter.cpp clang-format: Fix child-formatting in macros. 2015-05-26 07:03:42 +00:00
UnwrappedLineFormatter.h Refactor clang-format's formatter. 2015-05-12 09:23:57 +00:00
UnwrappedLineParser.cpp clang-format: More eagerly wrap trailing return types. 2015-06-05 13:18:09 +00:00
UnwrappedLineParser.h clang-format: NFC. Cleanup after r237895. 2015-05-31 08:51:54 +00:00
WhitespaceManager.cpp [Format] Skip creating temporary std::strings when filling another string. 2015-05-28 19:55:49 +00:00
WhitespaceManager.h clang-format: Add ability to align assignment operators. 2015-04-29 13:06:49 +00:00