diff options
| author | Howard Hinnant <hhinnant@apple.com> | 2011-05-28 14:41:13 +0000 |
|---|---|---|
| committer | Howard Hinnant <hhinnant@apple.com> | 2011-05-28 14:41:13 +0000 |
| commit | 3739fe79e52751e2757804c10b52a8c16d5f2ab7 (patch) | |
| tree | 472cd31501e1435088661add2189c463beb6da58 /clang/lib/CodeGen/CodeGenFunction.cpp | |
| parent | df1fb13a5cc47f589444dddf568c2912d0deaeb9 (diff) | |
| download | llvm-3739fe79e52751e2757804c10b52a8c16d5f2ab7.zip llvm-3739fe79e52751e2757804c10b52a8c16d5f2ab7.tar.gz llvm-3739fe79e52751e2757804c10b52a8c16d5f2ab7.tar.bz2 | |
noexcept for <memory>. I've added a few extension noexcept to: allocator_traits<A>::deallocate, allocaate<T>::deallocate, return_temporary_buffer, and default_delete<T>::operator()(T*) const. My rationale was: If a std-dicated noexcept function needs to call another std-defined function, that called function must be noexcept. We're all a little new to noexcept, so things like this are to be expected. Also included fix for broken __is_swappable trait pointed out by Marc Glisse, thanks Marc|. And fixed a test case for is_nothrow_destructible. Destructors are now noexcept by default|
llvm-svn: 132261
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
