summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/TargetTransformInfo.cpp
diff options
context:
space:
mode:
authorMartin Probst <martin@probst.io>2018-05-22 10:39:07 +0000
committerMartin Probst <martin@probst.io>2018-05-22 10:39:07 +0000
commit7ebad4ea81f7481521c01488734fc4962d380d78 (patch)
treed7c7b24c54b542b6526525b530de93b1c78d88d4 /llvm/lib/Analysis/TargetTransformInfo.cpp
parent2cfcc01b22f292efc42803d888a12ec356505d6f (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud