llvm-project/clang/unittests
Daniel Jasper 63af7c482d clang-format: Be more conservative about braced list column layout.
Specifically disable it for nested braced lists as it commonly can look
really weird. Eventually, we'll want to become smarter and format some of
the nested lists better.

Before:
  SomeStruct my_struct_array = {
    { aaaaaa,     aaaaaaaa,   aaaaaaaaaa, aaaaaaaaa, aaaaaaaaa,
      aaaaaaaaaa, aaaaaaaaaa, aaaaaaa,    aaa },
    { aaaa, aaaa, aaaa, aaaa, aaaa, aaaa, aaaa, aaa },
    { aaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaa,
      aaaaaaaaaaaa,      a,                 aaaaaaaaaa,
      aaaaaaaaa,         aaa },
  };

After:
  SomeStruct my_struct_array = {
    { aaaaaa, aaaaaaaa, aaaaaaaaaa, aaaaaaaaa, aaaaaaaaa, aaaaaaaaaa,
      aaaaaaaaaaaa, aaaaaaa, aaa },
    { aaaa, aaaa, aaaa, aaaa, aaaa, aaaa, aaaa, aaa },
    { aaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaa,
      aaaaaaaaaaaa, a, aaaaaaaaaa, aaaaaaaaa, aaa },
  };

llvm-svn: 196783
2013-12-09 14:40:19 +00:00
..
AST Add Distance parameter to ASTNodeKind::isBaseOf. 2013-11-23 01:40:07 +00:00
ASTMatchers Split registry matcher resolution into a lookup phase and a construction phase. 2013-11-23 01:13:16 +00:00
Basic Use the same SourceManager for ModuleMaps and compilations. 2013-10-24 07:51:24 +00:00
Format clang-format: Be more conservative about braced list column layout. 2013-12-09 14:40:19 +00:00
Frontend [Parser] Unbreak parsing with incremental parsing enabled and add a unit-test for it. 2013-11-24 02:12:18 +00:00
Lex Use the same SourceManager for ModuleMaps and compilations. 2013-10-24 07:51:24 +00:00
Sema Add hooks to ExternalSemaSource for after-the-fact diagnosis of 2013-08-12 22:11:14 +00:00
Tooling Relax some preconditions for using FixedCompilationDatabase. 2013-11-17 16:08:04 +00:00
CMakeLists.txt Add hooks for typo correction to ExternalSemaSource, courtesy of Luke Zarko. 2013-08-12 19:54:38 +00:00
Makefile Fix dependencies now that the ARC migrator depends on the static analyzer. 2013-08-22 15:50:02 +00:00