diff options
author | Martin Probst <martin@probst.io> | 2018-05-22 10:39:07 +0000 |
---|---|---|
committer | Martin Probst <martin@probst.io> | 2018-05-22 10:39:07 +0000 |
commit | 7ebad4ea81f7481521c01488734fc4962d380d78 (patch) | |
tree | d7c7b24c54b542b6526525b530de93b1c78d88d4 /llvm/lib/Analysis/TargetTransformInfo.cpp | |
parent | 2cfcc01b22f292efc42803d888a12ec356505d6f (diff) | |
download | bcm5719-llvm-7ebad4ea81f7481521c01488734fc4962d380d78.tar.gz bcm5719-llvm-7ebad4ea81f7481521c01488734fc4962d380d78.zip |
clang-format: [JS] do not wrap before any `is`.
Summary:
`is` type annotations can occur at any nesting level. For example:
function x() {
return function y(): a is B { ... };
}
Breaking before the `is` above breaks TypeScript parsing the code. This
change prevents the wrap.
Reviewers: krasimir
Subscribers: klimek, cfe-commits
Differential Revision: https://reviews.llvm.org/D47193
llvm-svn: 332968
Diffstat (limited to 'llvm/lib/Analysis/TargetTransformInfo.cpp')
0 files changed, 0 insertions, 0 deletions