llvm-project/libcxx/test/std
Arthur O'Dwyer c1a8f12873 [libc++] Restore `basic_ios`'s implicit conversion to `bool` in C++03 mode.
efriedma noted that D104682 broke this test case, reduced from SPEC2006.

    #include <istream>
    bool a(std::istream a) {
        return a.getline(0,0) == 0;
    }

We can unbreak it by restoring the conversion to something-convertible-to-bool.
We chose `void*` in order to match libstdc++.

For more ancient history, see PR19460: https://bugs.llvm.org/show_bug.cgi?id=19460

Differential Revision: https://reviews.llvm.org/D107663
2021-08-11 13:36:29 -04:00
..
algorithms [libcxx] Move all algorithms into their own headers 2021-06-19 07:49:06 -04:00
atomics [libc++] Add a job running GCC with C++11 2021-07-15 22:13:03 -04:00
concepts [libc++] [test] IWYU in <concepts> tests. 2021-08-09 09:39:36 -04:00
containers [libc++] Implement the resolutions of LWG3506 and LWG3522. 2021-07-28 21:15:20 -04:00
depr [libc++] Add a job running GCC with C++11 2021-07-15 22:13:03 -04:00
diagnostics [runtimes] Simplify how we specify XFAIL & friends based on the triple 2021-07-01 14:03:30 -04:00
experimental [libcxx][nfc] Fix the ASAN bots: update expected.pass.cpp. 2021-05-26 14:06:25 -07:00
input.output [libc++] Restore `basic_ios`'s implicit conversion to `bool` in C++03 mode. 2021-08-11 13:36:29 -04:00
iterators [libcxx][ranges] Add `counted_iterator`. 2021-07-27 15:50:11 -07:00
language.support [libc++] Remove _LIBCPP_HAS_UNIQUE_OBJECT_REPRESENTATIONS 2021-08-11 10:11:40 -04:00
localization [libcxx] [test] Generalize defines for skipping allocation checks 2021-08-10 11:05:00 +03:00
namespace [libc++] Add a libc++ configuration that does not support localization 2020-10-27 14:56:30 -04:00
numerics [runtimes] Simplify how we specify XFAIL & friends based on the triple 2021-07-01 14:03:30 -04:00
ranges [libcxx][ranges] Add `views::counted` CPO. 2021-08-10 16:42:28 -07:00
re [libc++] Disable incomplete library features. 2021-07-27 22:37:35 +02:00
strings [libc++] Disable incomplete library features. 2021-07-27 22:37:35 +02:00
thread [libcxx] [test] Generalize defines for skipping allocation checks 2021-08-10 11:05:00 +03:00
utilities [libc++] Remove _LIBCPP_HAS_NO_IS_AGGREGATE 2021-08-11 10:10:53 -04:00
pstl [libc++] Take 2: Integrate the PSTL into libc++ 2019-08-05 18:29:14 +00:00