diff options
author | Martin Probst <martin@probst.io> | 2017-03-13 07:10:18 +0000 |
---|---|---|
committer | Martin Probst <martin@probst.io> | 2017-03-13 07:10:18 +0000 |
commit | b98ab89ebb7dd5ee008a1fd3e0ea8502e9e4d963 (patch) | |
tree | 03629e480bc7e97b08f81303fa1977f4eb03834a /clang/lib/Format/NamespaceEndCommentsFixer.h | |
parent | 1867a87c3d5b20c7ff488a230dee4e6213e43032 (diff) | |
download | bcm5719-llvm-b98ab89ebb7dd5ee008a1fd3e0ea8502e9e4d963.tar.gz bcm5719-llvm-b98ab89ebb7dd5ee008a1fd3e0ea8502e9e4d963.zip |
clang-format: [JS] do not wrap after interface and type.
Summary:
`interface` and `type` are pseudo keywords and cause automatic semicolon
insertion when followed by a line break:
interface // gets parsed as a long variable access to "interface"
VeryLongInterfaceName {
}
With this change, clang-format not longer wraps after `interface` or `type`.
Reviewers: djasper
Subscribers: cfe-commits, klimek
Differential Revision: https://reviews.llvm.org/D30874
llvm-svn: 297605
Diffstat (limited to 'clang/lib/Format/NamespaceEndCommentsFixer.h')
0 files changed, 0 insertions, 0 deletions