diff options
author | Eric Fiselier <eric@efcs.ca> | 2018-03-22 23:01:08 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2018-03-22 23:01:08 +0000 |
commit | 5bdf02f4fc905b97f653dfab4aac0778a8aba1d8 (patch) | |
tree | 25ee2747958c7b64b9b1f93f846a2d3e9435f174 /lldb/source/Commands/CommandObjectFrame.cpp | |
parent | d0eba7f2a57cbbb51de8773edc3ad4565f27dae3 (diff) | |
download | llvm-5bdf02f4fc905b97f653dfab4aac0778a8aba1d8.zip llvm-5bdf02f4fc905b97f653dfab4aac0778a8aba1d8.tar.gz llvm-5bdf02f4fc905b97f653dfab4aac0778a8aba1d8.tar.bz2 |
Avoid Clang error about throwing _LIBCPP_ASSERT in noexcept function.
This fixes a couple of tests which produced a warning that a 'throw'
occurred in a noexcept function (by way of _LIBCPP_ASSERT). It does
so by hiding the 'throw' across an opaque function boundary.
This fix isn't ideal, since we still have _LIBCPP_ASSERT's in functions
marked noexcept -- and this problem should be addressed in the future.
However, throwing _LIBCPP_ASSERT is really only meant to allow testing
of the assertions, and is not yet ready for general use.
llvm-svn: 328265
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
0 files changed, 0 insertions, 0 deletions