You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcxxabi/test
Hans Wennborg c4e6c8a10d Merging r292638:
------------------------------------------------------------------------
r292638 | ericwf | 2017-01-20 11:34:19 -0800 (Fri, 20 Jan 2017) | 9 lines

Fix catch_reference_nullptr.pass.cpp test for GCC.

This test contained an implicit conversion from nullptr to bool.
Clang warns about this but the test had supressed that warning.
However GCC diagnoses the same code as an error and requires
-fpermissive to accept it.

This patch fixes both the warning and the error by explicitly
converting the pointer to bool.
------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/branches/release_40@293813 91177308-0d34-0410-b5e6-96231b3b80d8
9 years ago
..
libcxxabi Merging r292135: 9 years ago
native/arm-linux-eabi arm: Fix ttype encoding assertion failure. 9 years ago
support Add missing license headers 10 years ago
CMakeLists.txt [libcxxabi] Cleanup and adapt for r291275. NFC. 9 years ago
backtrace_test.pass.cpp Fix warnings in libc++abi tests 9 years ago
catch_array_01.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 9 years ago
catch_array_02.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 9 years ago
catch_class_01.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 9 years ago
catch_class_02.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 9 years ago
catch_class_03.pass.cpp Suppress warnings about the operations currently under test. 9 years ago
catch_class_04.pass.cpp [libcxxabi] Reorder base class initializers in libc++abi tests to prevent -Wreorder 9 years ago
catch_const_pointer_nullptr.pass.cpp [libcxxabi] When catching an exception of type nullptr_t with a handler of 9 years ago
catch_function_01.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 9 years ago
catch_function_02.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 9 years ago
catch_function_03.pass.cpp Check for SD-6 feature test macro when determining which tests should be 9 years ago
catch_in_noexcept.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 9 years ago
catch_member_data_pointer_01.pass.cpp Fix [libcxxabi] Fix warning about uninitialized const member. 9 years ago
catch_member_function_pointer_01.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 9 years ago
catch_member_function_pointer_02.pass.cpp Check for SD-6 feature test macro when determining which tests should be 9 years ago
catch_member_pointer_nullptr.pass.cpp [libcxxabi] When catching an exception of type nullptr_t with a handler of 9 years ago
catch_multi_level_pointer.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 9 years ago
catch_pointer_nullptr.pass.cpp [libcxxabi] When catching an exception of type nullptr_t with a handler of 9 years ago
catch_pointer_reference.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 9 years ago
catch_ptr.pass.cpp [libcxxabi] Reorder base class initializers in libc++abi tests to prevent -Wreorder 9 years ago
catch_ptr_02.pass.cpp Suppress warnings about the operations currently under test. 9 years ago
catch_reference_nullptr.pass.cpp Merging r292638: 9 years ago
cxa_bad_cast.pass.cpp Fix warnings in libc++abi tests 9 years ago
cxa_bad_typeid.pass.cpp [libcxxabi][test] Add missing return statement. 9 years ago
cxa_thread_atexit_test.pass.cpp Spell libcxxabi-no-threads correctly 9 years ago
dynamic_cast3.pass.cpp Suppress warnings about the operations currently under test. 9 years ago
dynamic_cast5.pass.cpp Suppress warnings about the operations currently under test. 9 years ago
dynamic_cast14.pass.cpp Reducing stack usage of test 10 years ago
dynamic_cast_stress.pass.cpp Fix or disable C++11 tests in C++03 mode 10 years ago
incomplete_type.sh.cpp [libcxxabi] When catching an exception of type nullptr_t with a handler of 9 years ago
inherited_exception.pass.cpp Suppress warnings about the operations currently under test. 9 years ago
lit.cfg arm: Fix ttype encoding assertion failure. 9 years ago
lit.site.cfg.in [libcxxabi] Cleanup and adapt for r291275. NFC. 9 years ago
noexception1.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 9 years ago
noexception2.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 9 years ago
noexception3.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 9 years ago
noexception4.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 9 years ago
test_aux_runtime.pass.cpp Fix warnings in libc++abi tests 9 years ago
test_aux_runtime_op_array_new.pass.cpp Fix warnings in libc++abi tests 9 years ago
test_demangle.pass.cpp Merging r292418: 9 years ago
test_exception_storage.pass.cpp [libcxxabi] Introduce an externally threaded libc++abi variant. 9 years ago
test_fallback_malloc.pass.cpp [libcxxabi] Introduce an externally threaded libc++abi variant. 9 years ago
test_guard.pass.cpp Fix warnings in libc++abi tests 9 years ago
test_vector1.pass.cpp Fix warnings in libc++abi tests 9 years ago
test_vector2.pass.cpp Fix warnings in libc++abi tests 9 years ago
test_vector3.pass.cpp Fix warnings in libc++abi tests 9 years ago
testit Rename all of the tests in preparation for merging lit configs with libcxx 11 years ago
thread_local_destruction_order.pass.cpp [libc++abi] Mark failing test on Darwin as XFAIL 9 years ago
uncaught_exceptions.pass.cpp Fix signed comparison warning 9 years ago
unwind_01.pass.cpp Suppress unreachable code warning in unwind tests 9 years ago
unwind_02.pass.cpp Merging r292135: 9 years ago
unwind_03.pass.cpp Merging r292135: 9 years ago
unwind_04.pass.cpp Merging r292135: 9 years ago
unwind_05.pass.cpp Merging r292135: 9 years ago
unwind_06.pass.cpp Fix warnings in libc++abi tests 9 years ago