clang-format: [JS] Don't put top-level typescript enums on a single line.
authorDaniel Jasper <djasper@google.com>
Wed, 17 Jun 2015 09:44:07 +0000 (09:44 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 17 Jun 2015 09:44:07 +0000 (09:44 +0000)
commit9f4ec15270d8bf000d2c106b81fc4ef856e30eb8
tree269c7609e4c40b4c718f8954ad89de9fcf508d33
parent90cf380e92b98fd7c430290d245f2e94d53a767b
clang-format: [JS] Don't put top-level typescript enums on a single line.

This makes this consistent with non-typescript enums.

Also shuffle the language-dependent stuff in mustBreakBefore to a
single location.

Patch initiated by Martin Probst.

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