]> granicus.if.org Git - clang/commit
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)
commite9b9cc12c5380d07188d7ed37b6764a864e73acc
treef36416722b6c535c68befe97cea33f8a6e9f04ab
parentee4c1b5fd65b9118cb0c0368583bef8c5ab3e3e1
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.

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