llvm-project/clang/lib/Format
Daniel Jasper 739ec534d2 clang-format: [JS] Understand object literals with only methods.
Before:
  let theObject = {someMethodName() {
    doTheThing();
    doTheOtherThing();
  },
                   someOtherMethodName() {
                     doSomething();
                     doSomethingElse();
                   }};

After:
  let theObject = {
    someMethodName() {
      doTheThing();
      doTheOtherThing();
    },
    someOtherMethodName() {
      doSomething();
      doSomethingElse();
    }
  };

llvm-svn: 234091
2015-04-04 07:56:55 +00:00
..
BreakableToken.cpp clang-format: Fix crasher when splitting incomplete escape sequences. 2015-01-21 19:50:35 +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: Force line break in trailing calls after multline exprs. 2015-03-26 18:46:28 +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 clang-format: [Proto] No alternate operator names. 2015-04-03 21:15:46 +00:00
FormatToken.cpp clang-format: Fix crash on invalid code. 2015-01-19 10:51:42 +00:00
FormatToken.h clang-format: Force line break in trailing calls after multline exprs. 2015-03-26 18:46:28 +00:00
Makefile
TokenAnnotator.cpp clang-format: [JS] Understand object literals with only methods. 2015-04-04 07:56:55 +00:00
TokenAnnotator.h clang-format: Always align */& in multi-var DeclStmts. 2015-03-01 18:55:26 +00:00
UnwrappedLineFormatter.cpp clang-format: Don't corrupt macros with open braces. 2015-03-13 13:32:11 +00:00
UnwrappedLineFormatter.h clang-format: [JS] Support classes. 2015-02-18 17:14:05 +00:00
UnwrappedLineParser.cpp clang-format: [JS] Support getters, setters and methods in object literals. 2015-03-31 14:34:15 +00:00
UnwrappedLineParser.h clang-format: [Java] Support anonymous classes after = and return. 2015-03-12 14:44:29 +00:00
WhitespaceManager.cpp Make sure we initialize all values in WhitespaceManager::Change. 2015-03-03 14:21:48 +00:00
WhitespaceManager.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00