llvm-project/clang/lib/Format
Daniel Jasper 3b0f304517 clang-format: [JS] Let fat arrows have 'Assignment' precedence.
This is a more correct representation than using "Equality" introduced
in r238942 which was a quick fix to solve an actual regression.

According to the typescript spec, arrows behave like "low-precedence"
assignments.

Before:
  var a = a.aaaaaaa((a: a) => aaaaaaaaaaaaaaaaaaaaa(bbbbbbbbb) &&
                    aaaaaaaaaaaaaaaaaaaaa(bbbbbbb));
After:
  var a = a.aaaaaaa((a: a) => aaaaaaaaaaaaaaaaaaaaa(bbbbbbbbb) &&
                              aaaaaaaaaaaaaaaaaaaaa(bbbbbbb));

llvm-svn: 239137
2015-06-05 08:25:37 +00:00
..
BreakableToken.cpp clang-format: Fix bug in multiline comment wrapping. 2015-05-06 07:17:22 +00:00
BreakableToken.h Fix assertion in BreakableBlockComment (http://llvm.org/PR21916). 2015-01-12 13:11:12 +00:00
CMakeLists.txt clang-format: Factor out UnwrappedLineFormatter into a separate file. 2014-12-10 19:00:42 +00:00
ContinuationIndenter.cpp clang-format: Properly reset BreakBeforeParameter when wrapping 2015-06-03 09:26:03 +00:00
ContinuationIndenter.h clang-format: Revamp nested block formatting. 2014-12-12 09:40:58 +00:00
Encoding.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
Format.cpp Remove error message when using the fallback style. 2015-06-02 11:52:15 +00:00
FormatToken.cpp clang-format: Guard the bin-packing in braced lists on BinPackArguments 2015-05-26 07:26:26 +00:00
FormatToken.h clang-format: [JS] Support ES6 computed property names. 2015-05-29 06:19:49 +00:00
Makefile
TokenAnnotator.cpp clang-format: [JS] Let fat arrows have 'Assignment' precedence. 2015-06-05 08:25:37 +00:00
TokenAnnotator.h clang-format: Always align */& in multi-var DeclStmts. 2015-03-01 18:55:26 +00:00
UnwrappedLineFormatter.cpp clang-format: Fix child-formatting in macros. 2015-05-26 07:03:42 +00:00
UnwrappedLineFormatter.h Refactor clang-format's formatter. 2015-05-12 09:23:57 +00:00
UnwrappedLineParser.cpp clang-format: Don't try to detect C++ lambdas in other languages. 2015-06-02 15:31:37 +00:00
UnwrappedLineParser.h clang-format: NFC. Cleanup after r237895. 2015-05-31 08:51:54 +00:00
WhitespaceManager.cpp [Format] Skip creating temporary std::strings when filling another string. 2015-05-28 19:55:49 +00:00
WhitespaceManager.h clang-format: Add ability to align assignment operators. 2015-04-29 13:06:49 +00:00