[PATCH] D14653: [libcxx] Introduce the mechanism for fixing -fno-exceptions test failures.

Asiri Rathnayake via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 16 02:51:34 PST 2015


rmaprath updated this revision to Diff 42977.
rmaprath added a comment.

Two minor additions:

- Introduced a `TEST_THROW` macro for those tests that need to throw exceptions (Note:- not using the `_LIBCPP_THROW` macro here as we want to keep the tests independent of the standard library implementation).
- Updated `tests/support/test_allocator.h` to use the `_LIBCPP_THROW` macro rather than terminate the test when exceptions are disabled.


http://reviews.llvm.org/D14653

Files:
  include/__config
  include/array
  test/std/containers/sequences/array/at.pass.cpp
  test/support/noexcept.h
  test/support/test_allocator.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14653.42977.patch
Type: text/x-patch
Size: 5678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151216/1965d9d9/attachment.bin>


More information about the cfe-commits mailing list