commit | 6f2b88a39838fa46b222e506c9407f1cc31feeb3 | [log] [tgz] |
---|---|---|
author | Daniel Jasper <djasper@google.com> | Fri Jun 05 13:18:09 2015 +0000 |
committer | Daniel Jasper <djasper@google.com> | Fri Jun 05 13:18:09 2015 +0000 |
tree | 61a1bec3b1db472003d537983987a0e4ec693203 | |
parent | f6a1312f1b30a335889f74d92e5ce5e5a6970f4a [diff] |
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