summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM
diff options
context:
space:
mode:
authorMartin Probst <martin@probst.io>2017-02-07 14:08:03 +0000
committerMartin Probst <martin@probst.io>2017-02-07 14:08:03 +0000
commit16282993b77e1d2bda3d7fb94a855af081311563 (patch)
tree2f481503223696faf50b568c5386f8c4eb2cd11b /llvm/test/CodeGen/ARM
parentce43bdb3d06a519731682e2727c26c7f986fe541 (diff)
downloadbcm5719-llvm-16282993b77e1d2bda3d7fb94a855af081311563.tar.gz
bcm5719-llvm-16282993b77e1d2bda3d7fb94a855af081311563.zip
clang-format: [JS] exclaim preceding regex literals.
Summary: Regex detection would incorrectly classify a trailing `!` operator (nullability cast) followed by a `/` as the start of a regular expression literal. This fixes code such as: var foo = x()! / 10; Which would previously parse a regexp all the way to the end of the source file (or next `/`). Reviewers: djasper Subscribers: cfe-commits, klimek Differential Revision: https://reviews.llvm.org/D29634 llvm-svn: 294304
Diffstat (limited to 'llvm/test/CodeGen/ARM')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud