Add noexcept throughout <atomic>
authorEric Fiselier <eric@efcs.ca>
Sun, 23 Jun 2019 02:49:12 +0000 (02:49 +0000)
committerEric Fiselier <eric@efcs.ca>
Sun, 23 Jun 2019 02:49:12 +0000 (02:49 +0000)
commitcf92a1f6eb1bbe577632555a144eba95716d3821
tree3e1b68f3b9740f115fadb3109c02c65e2596999f
parent08c699a1105b874cd54cf9a12fa2856bdc708416
Add noexcept throughout <atomic>

The CMake CheckLibcxxAtomic module was always failing to compile
the example, even when libatomic wasn't needed. This was caused
because the check doesn't link a C++ runtime library to provide
std::terminate, which is required for exception support.

The check is still really broken, but <atomic> is better!

llvm-svn: 364146
libcxx/include/atomic