aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp
diff options
context:
space:
mode:
authorMartin Probst <martin@probst.io>2018-08-03 13:58:33 +0000
committerMartin Probst <martin@probst.io>2018-08-03 13:58:33 +0000
commitf326b6b975409a2f29c7c852406b89c910e9d4c7 (patch)
tree30d8d78317e2c79e0459511302108f6c38b122be /llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp
parentad710b2cab2c6d62bb866a189389fe29acf04b08 (diff)
downloadllvm-f326b6b975409a2f29c7c852406b89c910e9d4c7.zip
llvm-f326b6b975409a2f29c7c852406b89c910e9d4c7.tar.gz
llvm-f326b6b975409a2f29c7c852406b89c910e9d4c7.tar.bz2
clang-format: [JS] don't break comments before any '{'
Summary: Previously, clang-format would avoid breaking before the first `{` found, but then happily break before subsequent '{'s on the line. This change fixes that by looking for the first location that has no opening curly, if any. This fixes the original commit by correcting the loop condition. This reverts commit 66dc646e09b795b943668179c33d09da71a3b6bc. Reviewers: krasimir Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D50249 llvm-svn: 338890
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp')
0 files changed, 0 insertions, 0 deletions