diff options
author | Martin Probst <martin@probst.io> | 2018-06-11 16:20:13 +0000 |
---|---|---|
committer | Martin Probst <martin@probst.io> | 2018-06-11 16:20:13 +0000 |
commit | c8b7a41a00591c4852ac583cf2bc4c7d34b2fded (patch) | |
tree | 7ce67fd24e86a719e853a512fdfc11fc9be66dc7 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 5434047862b1439e8ede5388aad4445317bacddd (diff) | |
download | bcm5719-llvm-c8b7a41a00591c4852ac583cf2bc4c7d34b2fded.tar.gz bcm5719-llvm-c8b7a41a00591c4852ac583cf2bc4c7d34b2fded.zip |
clang-format: [JS] strict prop init annotation.
Summary:
TypeScript uses the `!` token for strict property initialization
assertions, as in:
class X {
strictPropAsserted!: string;
}
Previously, clang-format would wrap between the `!` and the `:` for
overly long lines. This patch fixes that by generally preventing the
wrap in that location.
Reviewers: krasimir
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D48030
llvm-svn: 334415
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions