aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorMichael Park <mcypark@gmail.com>2020-06-16 13:29:23 -0700
committerMichael Park <mcypark@gmail.com>2020-06-16 14:51:22 -0700
commitada2a8ea4a9c5b2141c30c77b80b85945e346999 (patch)
tree4f5ce93c3a4781cb9983cbe2a40bd205fd4c9263 /llvm/lib/CodeGen/MachineInstr.cpp
parente35ba09961c89faa4801b45c33b70a8b3a64fe84 (diff)
downloadllvm-ada2a8ea4a9c5b2141c30c77b80b85945e346999.zip
llvm-ada2a8ea4a9c5b2141c30c77b80b85945e346999.tar.gz
llvm-ada2a8ea4a9c5b2141c30c77b80b85945e346999.tar.bz2
Remove the try/catch codepath if `swap` is `noexcept`.
Summary: In the case where `swap` is `noexcept`, we should avoid the extension to provide strong-exception guarantee. Fixes https://bugs.llvm.org/show_bug.cgi?id=46342 Reviewers: #libc, ldionne Reviewed By: #libc, ldionne Subscribers: dexonsmith, mclow.lists, miscco, ldionne, zoecarver, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D81954
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions