llvm-project/clang/unittests
Daniel Jasper 11ca263994 clang-format: [JS] Only special case top level object literal
assignments as enums.

Top level object literals are treated as enums, and their k/v pairs are put on
separate lines:

  X.Y = {
    A: 1,
    B: 2
  };

However assignments within blocks should not be affected:

  function x() {
    y = {a:1, b:2};
  }

This change fixes the second case. Patch by Martin Probst.

llvm-svn: 239462
2015-06-10 09:21:09 +00:00
..
AST Move a test from static-assert.cpp to DeclPrinterTest 2015-06-05 22:40:53 +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] Only special case top level object literal 2015-06-10 09:21:09 +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