summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/NamespaceEndCommentsFixer.h
diff options
context:
space:
mode:
authorMartin Probst <martin@probst.io>2017-03-13 09:14:23 +0000
committerMartin Probst <martin@probst.io>2017-03-13 09:14:23 +0000
commit22b8d2692453ab29c0c1d3b24e3994fc4dcc5426 (patch)
tree0e4713372d5edd6df4fc634716ecf29b511717c1 /clang/lib/Format/NamespaceEndCommentsFixer.h
parentb98ab89ebb7dd5ee008a1fd3e0ea8502e9e4d963 (diff)
downloadbcm5719-llvm-22b8d2692453ab29c0c1d3b24e3994fc4dcc5426.tar.gz
bcm5719-llvm-22b8d2692453ab29c0c1d3b24e3994fc4dcc5426.zip
clang-format: [JS] allow breaking after non-null assertions.
Summary: Previously clang-format would not break after any !. However in TypeScript, ! can be used as a post fix operator for non-nullability: x.foo()!.bar()!; With this change, clang-format will wrap after the ! if it is likely a post-fix non null operator. Reviewers: djasper Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D30705 llvm-svn: 297606
Diffstat (limited to 'clang/lib/Format/NamespaceEndCommentsFixer.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud