diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-05-27 19:08:18 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-05-27 19:08:18 +0000 |
commit | 27d0a2a75d35ae8d4a07416e098008b22fae1bf3 (patch) | |
tree | 2d703f313121126784ade57ca950496f1aa4cd36 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 97c9f84f684d80d7ead14ddc460731c92984cc93 (diff) | |
download | bcm5719-llvm-27d0a2a75d35ae8d4a07416e098008b22fae1bf3.tar.gz bcm5719-llvm-27d0a2a75d35ae8d4a07416e098008b22fae1bf3.zip |
noexcept for <tuple>. And in the process learned that I had done it wrong for pair's swap. I needed to create an __is_nothrow_swappable<T>::value trait that was smart enought to answer false when __is_swappable<T>::value is false. Otherwise one gets compile-time errors when using pair or tuple of non-swappable types, even if you never try to swap the pair or tuple.
llvm-svn: 132204
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions