hanchenye-llvm-project/libcxxabi/test
Eric Fiselier 35c8983c33 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.

llvm-svn: 292638
2017-01-20 19:34:19 +00:00
..
libcxxabi Mark the dynamic-exception tests as unsupported under C++17, since it has no dynamic-exception specs. Also, remove a FIXME workaround from the config that allowed these tests to work under C++17. This addresses PR#31621. 2017-01-16 15:28:03 +00:00
native/arm-linux-eabi arm: Fix ttype encoding assertion failure. 2016-11-13 14:44:41 +00:00
support Add missing license headers 2016-01-19 22:07:10 +00:00
CMakeLists.txt [libcxxabi] Cleanup and adapt for r291275. NFC. 2017-01-09 11:57:21 +00:00
backtrace_test.pass.cpp Fix warnings in libc++abi tests 2016-12-24 00:37:13 +00:00
catch_array_01.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_array_02.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_class_01.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_class_02.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_class_03.pass.cpp Suppress warnings about the operations currently under test. 2016-06-15 19:07:19 +00:00
catch_class_04.pass.cpp [libcxxabi] Reorder base class initializers in libc++abi tests to prevent -Wreorder 2016-06-15 19:33:01 +00:00
catch_const_pointer_nullptr.pass.cpp [libcxxabi] When catching an exception of type nullptr_t with a handler of 2016-07-19 20:19:37 +00:00
catch_function_01.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_function_02.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_function_03.pass.cpp Check for SD-6 feature test macro when determining which tests should be 2016-12-02 22:14:59 +00:00
catch_in_noexcept.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_member_data_pointer_01.pass.cpp Fix [libcxxabi] Fix warning about uninitialized const member. 2016-06-15 19:59:16 +00:00
catch_member_function_pointer_01.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_member_function_pointer_02.pass.cpp Check for SD-6 feature test macro when determining which tests should be 2016-12-02 22:14:59 +00:00
catch_member_pointer_nullptr.pass.cpp [libcxxabi] When catching an exception of type nullptr_t with a handler of 2016-07-19 20:19:37 +00:00
catch_multi_level_pointer.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_pointer_nullptr.pass.cpp [libcxxabi] When catching an exception of type nullptr_t with a handler of 2016-07-19 20:19:37 +00:00
catch_pointer_reference.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
catch_ptr.pass.cpp [libcxxabi] Reorder base class initializers in libc++abi tests to prevent -Wreorder 2016-06-15 19:33:01 +00:00
catch_ptr_02.pass.cpp Suppress warnings about the operations currently under test. 2016-06-15 19:07:19 +00:00
catch_reference_nullptr.pass.cpp Fix catch_reference_nullptr.pass.cpp test for GCC. 2017-01-20 19:34:19 +00:00
cxa_bad_cast.pass.cpp Fix warnings in libc++abi tests 2016-12-24 00:37:13 +00:00
cxa_bad_typeid.pass.cpp [libcxxabi][test] Add missing return statement. 2016-06-01 19:13:53 +00:00
cxa_thread_atexit_test.pass.cpp Spell libcxxabi-no-threads correctly 2016-10-31 14:14:04 +00:00
dynamic_cast3.pass.cpp Suppress warnings about the operations currently under test. 2016-06-15 19:07:19 +00:00
dynamic_cast5.pass.cpp Suppress warnings about the operations currently under test. 2016-06-15 19:07:19 +00:00
dynamic_cast14.pass.cpp Reducing stack usage of test 2016-03-04 14:25:13 +00:00
dynamic_cast_stress.pass.cpp
incomplete_type.sh.cpp [libcxxabi] When catching an exception of type nullptr_t with a handler of 2016-07-19 20:19:37 +00:00
inherited_exception.pass.cpp Suppress warnings about the operations currently under test. 2016-06-15 19:07:19 +00:00
lit.cfg arm: Fix ttype encoding assertion failure. 2016-11-13 14:44:41 +00:00
lit.site.cfg.in [libcxxabi] Cleanup and adapt for r291275. NFC. 2017-01-09 11:57:21 +00:00
noexception1.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
noexception2.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
noexception3.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
noexception4.pass.cpp [libcxxabi] Introduce a -fno-exceptions libc++abi libary variant 2016-05-31 12:01:32 +00:00
test_aux_runtime.pass.cpp Fix warnings in libc++abi tests 2016-12-24 00:37:13 +00:00
test_aux_runtime_op_array_new.pass.cpp Fix warnings in libc++abi tests 2016-12-24 00:37:13 +00:00
test_demangle.pass.cpp Revert r286788 2017-01-18 18:12:39 +00:00
test_exception_storage.pass.cpp [libcxxabi] Introduce an externally threaded libc++abi variant. 2017-01-03 12:58:34 +00:00
test_fallback_malloc.pass.cpp [libcxxabi] Introduce an externally threaded libc++abi variant. 2017-01-03 12:58:34 +00:00
test_guard.pass.cpp Fix warnings in libc++abi tests 2016-12-24 00:37:13 +00:00
test_vector1.pass.cpp Fix warnings in libc++abi tests 2016-12-24 00:37:13 +00:00
test_vector2.pass.cpp Fix warnings in libc++abi tests 2016-12-24 00:37:13 +00:00
test_vector3.pass.cpp Fix warnings in libc++abi tests 2016-12-24 00:37:13 +00:00
testit
thread_local_destruction_order.pass.cpp [libc++abi] Mark failing test on Darwin as XFAIL 2016-12-13 02:43:04 +00:00
uncaught_exceptions.pass.cpp Fix signed comparison warning 2016-12-11 05:43:20 +00:00
unwind_01.pass.cpp Suppress unreachable code warning in unwind tests 2016-12-24 05:01:55 +00:00
unwind_02.pass.cpp Mark the dynamic-exception tests as unsupported under C++17, since it has no dynamic-exception specs. Also, remove a FIXME workaround from the config that allowed these tests to work under C++17. This addresses PR#31621. 2017-01-16 15:28:03 +00:00
unwind_03.pass.cpp Mark the dynamic-exception tests as unsupported under C++17, since it has no dynamic-exception specs. Also, remove a FIXME workaround from the config that allowed these tests to work under C++17. This addresses PR#31621. 2017-01-16 15:28:03 +00:00
unwind_04.pass.cpp Mark the dynamic-exception tests as unsupported under C++17, since it has no dynamic-exception specs. Also, remove a FIXME workaround from the config that allowed these tests to work under C++17. This addresses PR#31621. 2017-01-16 15:28:03 +00:00
unwind_05.pass.cpp Mark the dynamic-exception tests as unsupported under C++17, since it has no dynamic-exception specs. Also, remove a FIXME workaround from the config that allowed these tests to work under C++17. This addresses PR#31621. 2017-01-16 15:28:03 +00:00
unwind_06.pass.cpp Fix warnings in libc++abi tests 2016-12-24 00:37:13 +00:00