llvm-project/clang/unittests/Format
Daniel Jasper 3c306e895e clang-format: [JS] Let fat arrows have 'Equality' precedence.
This fixes a regression in literal formatting:

Before:
  aaaaaaaaaaaaa = {
    aaaaaaaaaaaaaaaaaaaaaaaaaaaa: (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
                                   aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) =>
        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
  };

After:
  var aaaaaaaaaaaaaaaaaaaa = {
    aaaaaaaaaaaaaaaaaaaaaaaaaaaa:
        (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
         aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) =>
                aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
  };

Also apply no-else-after-return policy.

llvm-svn: 238942
2015-06-03 17:08:40 +00:00
..
CMakeLists.txt Refactor libTooling to reduce required dependencies. 2014-10-29 18:55:09 +00:00
FormatTest.cpp clang-format: Properly reset BreakBeforeParameter when wrapping 2015-06-03 09:26:03 +00:00
FormatTestJS.cpp clang-format: [JS] Let fat arrows have 'Equality' precedence. 2015-06-03 17:08:40 +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