llvm-project/clang/lib
Daniel Jasper 3c306e895e clang-format: [JS] Let fat arrows have 'Equality' precedence.
This fixes a regression in literal formatting:

Before:
  aaaaaaaaaaaaa = {
    aaaaaaaaaaaaaaaaaaaaaaaaaaaa: (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
                                   aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) =>
        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
  };

After:
  var aaaaaaaaaaaaaaaaaaaa = {
    aaaaaaaaaaaaaaaaaaaaaaaaaaaa:
        (aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
         aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) =>
                aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa,
  };

Also apply no-else-after-return policy.

llvm-svn: 238942
2015-06-03 17:08:40 +00:00
..
ARCMigrate Replace push_back(Constructor(foo)) with emplace_back(foo) for non-trivial types 2015-05-29 19:42:19 +00:00
AST Fix PR21945: Crash in constant evaluator. 2015-06-01 16:23:08 +00:00
ASTMatchers Replace push_back(Constructor(foo)) with emplace_back(foo) for non-trivial types 2015-05-29 19:42:19 +00:00
Analysis Append CXXDefaultInitExpr's wrapped expression to the CFG when visiting a constructor initializer 2015-06-03 10:12:40 +00:00
Basic [Basic] Transition getEnvironmentVersion from getOSVersion for android 2015-06-01 23:38:25 +00:00
CodeGen Revert "add the -mrecip driver flag and process its options (2nd try)" 2015-06-03 05:44:28 +00:00
Driver Fix misleading comment. NFC 2015-06-03 16:56:50 +00:00
Edit [edit] Don't hit an assert when trying to delete a trailing space at EOF 2015-03-29 18:07:29 +00:00
Format clang-format: [JS] Let fat arrows have 'Equality' precedence. 2015-06-03 17:08:40 +00:00
Frontend Revert "add the -mrecip driver flag and process its options (2nd try)" 2015-06-03 05:44:28 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers Added doxygen comments for the intrinsics. 2015-05-28 01:25:25 +00:00
Index Rename MacroDefinition -> MacroDefinitionRecord, Preprocessor::MacroDefinition -> MacroDefinition. 2015-05-04 02:25:31 +00:00
Lex Replace a few std::string& with StringRef. NFC. 2015-06-01 20:00:16 +00:00
Parse __declspec is not a core Clang language extension. Instead, require -fms-extensions or -fborland to enable the language extension. 2015-05-26 19:44:52 +00:00
Rewrite Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:58:30 +00:00
Sema Append CXXDefaultInitExpr's wrapped expression to the CFG when visiting a constructor initializer 2015-06-03 10:12:40 +00:00
Serialization Replace push_back(Constructor(foo)) with emplace_back(foo) for non-trivial types 2015-05-29 19:42:19 +00:00
StaticAnalyzer Fixes a typo in a comment. 2015-06-03 09:10:58 +00:00
Tooling Allow replacements created from token ranges to specify language options. 2015-06-03 13:10:41 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00