]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/testsuite/util/replacement_memory_operators.h
Replace dynamic exception specifications in testsuite
authorJonathan Wakely <jwakely@redhat.com>
Wed, 7 Dec 2016 15:22:51 +0000 (15:22 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 7 Dec 2016 15:22:51 +0000 (15:22 +0000)
commit1f153a1d2a97feaca914787f3d08b7d952b4bfe0
tree3ba08e59fdfc71363ecc1ae48190ef94110c34ac
parentba454dfbbec81fafed8f14b2fe59d895bd0255ac
Replace dynamic exception specifications in testsuite

* testsuite/util/testsuite_hooks.h (THROW): Define.
* testsuite/util/replacement_memory_operators.h: Include
testsuite_hooks.h and use THROW macro.
* testsuite/util/testsuite_tr1.h: Likewise.
* testsuite/20_util/allocator/1.cc: Use THROW macro.
* testsuite/22_locale/locale/cons/12352.cc: Likewise.
* testsuite/23_containers/vector/zero_sized_allocations.cc: Likewise.
* testsuite/30_threads/lock_guard/cons/1.cc: Replace dynamic exception
specification with noexcept-specifier.
* testsuite/ext/pool_allocator/allocate_chunk.cc: Include
testsuite_hooks.h and use THROW macro.
* testsuite/ext/profile/replace_new.cc: Likewise.

From-SVN: r243353
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/allocator/1.cc
libstdc++-v3/testsuite/22_locale/locale/cons/12352.cc
libstdc++-v3/testsuite/23_containers/vector/zero_sized_allocations.cc
libstdc++-v3/testsuite/30_threads/lock_guard/cons/1.cc
libstdc++-v3/testsuite/ext/pool_allocator/allocate_chunk.cc
libstdc++-v3/testsuite/ext/profile/replace_new.cc
libstdc++-v3/testsuite/util/replacement_memory_operators.h
libstdc++-v3/testsuite/util/testsuite_hooks.h
libstdc++-v3/testsuite/util/testsuite_tr1.h