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!

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@364146 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed