]> granicus.if.org Git - clang/commit
clang-format: [JS] Support exporting abstract classes.
authorDaniel Jasper <djasper@google.com>
Tue, 12 Jan 2016 06:24:38 +0000 (06:24 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 12 Jan 2016 06:24:38 +0000 (06:24 +0000)
commit318abdbd287db830623b81836bdd79bdee2d79f2
tree6de0c41759e91915d0fbc05d320e916be13cf309
parenta791c7fda94eb483bce30d79c9349f0c97b85948
clang-format: [JS] Support exporting abstract classes.

Before:
  export abstract class X {y: number;}
(and all sorts of other havoc in more complicated cases).

After:
  export abstract class X { y: number; }

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@257451 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/UnwrappedLineParser.cpp
unittests/Format/FormatTestJS.cpp