llvm-project/libcxx/test/std/containers/sequences/vector
Mikhail Maltsev 4e94bdceb0 [libcxx] Fix std::vector construct_iter_iter.pass.cpp test (C++98/03)
The test is failing on 32-bit targets in C++03 mode. Clang produces
the following warning: 'integer literal is too large to be represented
in type 'long' and is subject to undefined behavior under C++98,
interpreting as 'unsigned long'; this literal will have type 'long
long' in C++11 onwards [-Wc++11-compat]' which is promoted to an error
and causes the test to fail.

There have been no changes in the test itself since 2019, so it looks
like the diagnostic has been updated.

Differential Revision: https://reviews.llvm.org/D81559
2020-06-10 14:27:33 +01:00
..
vector.capacity [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
vector.cons [libcxx] Fix std::vector construct_iter_iter.pass.cpp test (C++98/03) 2020-06-10 14:27:33 +01:00
vector.data Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. 2019-05-31 18:35:30 +00:00
vector.erasure [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
vector.modifiers [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
vector.special [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
access.pass.cpp Mark vector::operator[] and front/back as noexcept. We already do this for string and string_view. This should give better codegen inside of noexcept functions. Add tests for op[]/front/back/at, because apparently we had none. 2019-03-15 00:29:35 +00:00
allocator_mismatch.compile.fail.cpp [libc++] Remove workaround for .fail.cpp tests that don't have clang-verify markup 2020-04-15 10:53:37 -04:00
contiguous.pass.cpp Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. 2019-05-31 18:35:30 +00:00
iterators.pass.cpp Support tests in freestanding 2019-02-04 20:31:13 +00:00
types.pass.cpp [libc++] Translate MODULES_DEFINES annotations to ADDITIONAL_COMPILE_FLAGS 2020-04-07 14:40:49 -04:00