llvm-project/clang/unittests
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
..
AST Fix a few line endings. NFC. 2015-05-01 02:04:32 +00:00
ASTMatchers Adding new AST matcher: isConstexpr 2015-05-22 11:35:50 +00:00
Basic Switch PPCallbacks to take the new MacroDefinition instead of MacroDirective*, in order to preserve full information on module macro expansion. 2015-05-04 03:15:40 +00:00
CodeGen Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00
Driver Update unit test for r232916. 2015-03-22 16:05:46 +00:00
Format clang-format: [JS] Let fat arrows have 'Equality' precedence. 2015-06-03 17:08:40 +00:00
Frontend Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00
Lex [modules] Start moving the module visibility information off the Module itself. 2015-05-01 01:53:09 +00:00
Rewrite [Rewrite] Make RewriteBuffer accessible on its own, and add a unit test for it. 2015-03-08 04:00:33 +00:00
Sema Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00
StaticAnalyzer [analyzer] Individual configuration options can be specified for checkers. 2015-03-04 17:59:34 +00:00
Tooling Allow replacements created from token ranges to specify language options. 2015-06-03 13:10:41 +00:00
libclang Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00
CMakeLists.txt [Rewrite] Make RewriteBuffer accessible on its own, and add a unit test for it. 2015-03-08 04:00:33 +00:00
Makefile [Rewrite] Make RewriteBuffer accessible on its own, and add a unit test for it. 2015-03-08 04:00:33 +00:00