hanchenye-llvm-project/clang/lib
Daniel Jasper e61f9f9949 clang-format: Fix bug in making line break decisions.
Here, the optimization to not line wrap when it would not lead to a
reduction in columns was overwriting and enforced break that we want to
do no matter what.

Before:
  int i = someFunction(
              aaaaaaa,
              0).aaa(aaaaaaaaaaaaa) *
              aaaaaaa +
          aaaaaaa;

After:
  int i = someFunction(aaaaaaa, 0)
                  .aaa(aaaaaaaaaaaaa) *
              aaaaaaa +
          aaaaaaa;

llvm-svn: 291974
2017-01-13 23:18:16 +00:00
..
ARCMigrate Reapply "IntrusiveRefCntPtr -> std::shared_ptr for CompilerInvocationBase and CodeCompleteConsumer" 2017-01-06 19:49:01 +00:00
AST Remove unused lambda captures. NFC 2017-01-13 18:55:32 +00:00
ASTMatchers Move VariantMatcher's Payload to std::shared_ptr rather than IntrusiveRefCntPtr 2017-01-05 18:51:54 +00:00
Analysis PR31631: fix bad CFG (and bogus warnings) when an if-statement has an init-statement and has binary operator as its condition. 2017-01-13 22:16:41 +00:00
Basic [OpenMP] Sema and parsing for 'target teams distribute simd’ pragma 2017-01-10 18:08:18 +00:00
CodeGen Remove unused lambda captures. NFC 2017-01-13 18:55:32 +00:00
Driver unique_ptrify Driver::ToolChains 2017-01-13 18:53:43 +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: Fix bug in making line break decisions. 2017-01-13 23:18:16 +00:00
Frontend unique_ptrify createDriverOptTable 2017-01-13 17:34:15 +00:00
FrontendTool unique_ptrify createDriverOptTable 2017-01-13 17:34:15 +00:00
Headers [DOXYGEN] Documentation for the newly added x86 intrinsics. 2017-01-13 01:14:08 +00:00
Index [index] Introduce symbol subkinds to mark an accessor getter or setter. 2017-01-11 21:42:48 +00:00
Lex [Modules] Fix misleading warning about missing textual header in umbrella header 2017-01-12 19:15:33 +00:00
Parse Tracking exception specification source locations 2017-01-12 16:11:28 +00:00
Rewrite [analyzer] Re-apply r283092, attempt no.4, chunk no.4 (last) 2016-10-07 19:25:10 +00:00
Sema PR31606: Generalize our tentative DR resolution for inheriting copy/move 2017-01-13 20:46:54 +00:00
Serialization Tracking exception specification source locations 2017-01-12 16:11:28 +00:00
StaticAnalyzer [analyzer] Add LocationContext as a parameter to checkRegionChanges 2017-01-13 00:50:57 +00:00
Tooling unique_ptrify createDriverOptTable 2017-01-13 17:34:15 +00:00
CMakeLists.txt