llvm-project/clang/unittests/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
..
CMakeLists.txt Refactor libTooling to reduce required dependencies. 2014-10-29 18:55:09 +00:00
FormatTest.cpp clang-format: More eagerly wrap trailing return types. 2015-06-05 13:18:09 +00:00
FormatTestJS.cpp clang-format: [JS] Let fat arrows have 'Assignment' precedence. 2015-06-05 08:25:37 +00:00
FormatTestJava.cpp clang-format: Indent relative to the ./-> and not the function name. 2015-04-07 06:41:24 +00:00
FormatTestProto.cpp clang-format: [Proto] Don't linewrap top-level options. 2015-04-23 09:54:10 +00:00
FormatTestUtils.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
Makefile Refactor libTooling to reduce required dependencies. 2014-10-29 18:55:09 +00:00