clang-format: [JS] Fix formatting of generator functions.
authorDaniel Jasper <djasper@google.com>
Tue, 1 Nov 2016 06:22:59 +0000 (06:22 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 1 Nov 2016 06:22:59 +0000 (06:22 +0000)
commit71e50af675c12197ebaf8d2782e8a9a59c428e29
tree21556d1e3fc9504b08041945a46a160ab4d4f933
parent4d67dd77a1a0109cce42ab4e7650051449075e1d
clang-format: [JS] Fix formatting of generator functions.

Before:
  var x = {
    a: function*
() {
  //
}
  }

After:
  var x = {
    a: function*() {
      //
    }
  }

llvm-svn: 285670
clang/lib/Format/TokenAnnotator.cpp
clang/lib/Format/UnwrappedLineParser.cpp
clang/unittests/Format/FormatTestJS.cpp