llvm-project/clang/lib
Daniel Jasper c79e4d2d25 clang-format: Make it very slighly more expensive to wrap between "= {".
This prevents unwanted fallout from r296664. Specifically in proto formatting,
this changed:
  optional Aaaaaaaa aaaaaaaa = 12 [
    (aaa) = aaaa,
    (bbbbbbbbbbbbbbbbbbbbbbbbbb) = {
      aaaaaaaaaaaaaaaaa: true,
      aaaaaaaaaaaaaaaa: true
    }
  ];

Into:
  optional Aaaaaaaa aaaaaaaa = 12 [
    (aaa) = aaaa,
    (bbbbbbbbbbbbbbbbbbbbbbbbbb) =
        {aaaaaaaaaaaaaaaaa: true, aaaaaaaaaaaaaaaa: true}
  ];

Which is considered less readable. Generally, it seems preferable to
format such dict literals as blocks rather than contract them to one
line.

llvm-svn: 297696
2017-03-14 00:40:32 +00:00
..
ARCMigrate Reapply "IntrusiveRefCntPtr -> std::shared_ptr for CompilerInvocationBase and CodeCompleteConsumer" 2017-01-06 19:49:01 +00:00
AST [ASTImporter] Import fix of GCCAsmStmts w/ missing symbolic operands 2017-03-13 15:32:24 +00:00
ASTMatchers Move VariantMatcher's Payload to std::shared_ptr rather than IntrusiveRefCntPtr 2017-01-05 18:51:54 +00:00
Analysis [analyzer] Fix crash when building CFG with variable of incomplete type 2017-03-07 08:42:37 +00:00
Basic Reapply [VFS] Ignore broken symlinks in the directory iterator. 2017-03-14 00:14:40 +00:00
CodeGen Fix -Wunused-lambda-capture warning in new code 2017-03-13 22:33:07 +00:00
Driver Driver/ToolChains: Remove extra semicolons. NFC 2017-03-09 00:14:57 +00:00
Edit Fix problems in "[OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare operand." 2016-12-23 14:55:49 +00:00
Format clang-format: Make it very slighly more expensive to wrap between "= {". 2017-03-14 00:40:32 +00:00
Frontend Modules: Use hash of PCM content for SIGNATURE 2017-03-13 18:45:08 +00:00
FrontendTool unique_ptrify createDriverOptTable 2017-01-13 17:34:15 +00:00
Headers [MS] Add support for __ud2 and __int2c MSVC intrinsics 2017-03-06 19:43:16 +00:00
Index [index] Mark categories of test classes with the 'UnitTest' symbol property as well. 2017-03-07 09:38:08 +00:00
Lex Fix handling of -fmodule-map-file=X where X has no directory component. 2017-03-09 00:58:22 +00:00
Parse [coroutines] Add DependentCoawaitExpr and fix re-building CoroutineBodyStmt. 2017-03-06 23:38:15 +00:00
Rewrite [analyzer] Re-apply r283092, attempt no.4, chunk no.4 (last) 2016-10-07 19:25:10 +00:00
Sema Fix crash with interrupt attribute on ARM. 2017-03-14 00:18:29 +00:00
Serialization Modules: Use hash of PCM content for SIGNATURE 2017-03-13 18:45:08 +00:00
StaticAnalyzer [analyzer] Fix a rare crash for valist check. 2017-03-13 12:48:26 +00:00
Tooling Add missing implementation for AtomicChange::replace(...) 2017-03-08 15:53:10 +00:00
CMakeLists.txt