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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
libcxx_old/test/support
Stephan T. Lavavej dd2a900c0b [libcxx] [test] Fix MSVC warnings, null pointer deref.
test/std/algorithms/alg.modifying.operations/alg.generate/generate_n.pass.cpp
Silence MSVC warning C4244. This is expected when passing
floating-point values for size.

test/std/utilities/template.bitset/bitset.members/to_ullong.pass.cpp
test/std/utilities/template.bitset/bitset.members/to_ulong.pass.cpp
Avoid MSVC "warning C4293: '<<': shift count negative or too big,
undefined behavior". MSVC sees (1ULL << N) and warns - being guarded
by const bool canFit is insufficient. A small change to the code
avoids the warning without the need for a pragma.

Remove a spurious printf() declaration from to_ullong.pass.cpp.

Change ULL to UL in to_ulong.pass.cpp. The ULL suffix was
probably copy-pasted.

test/std/utilities/tuple/tuple.general/ignore.pass.cpp
Use LIBCPP_STATIC_ASSERT for consistency with other files.

test/support/container_test_types.h
Fix a null pointer dereference, found by MSVC /analyze
warning C6011 "Dereferencing NULL pointer 'm_expected_args'."

Fixes D41030.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@320535 91177308-0d34-0410-b5e6-96231b3b80d8
8 years ago
..
test.support Implement P0513R0 - "Poisoning the Hash" 9 years ago
test.workarounds [test] Remove workaround for C1XX empty parameter pack bug 9 years ago
Counter.h Cleanup _LIBCPP_HAS_NO_<c++11-feature> in support headers and final tests 9 years ago
DefaultOnly.h Add license headers to a bunch of libc++ files that were missing them. No functionality change. Fixes 18291. Thanks to Nico for the bug report and the patch. 12 years ago
MoveOnly.h Cleanup _LIBCPP_HAS_NO_<c++11-feature> in support headers and final tests 9 years ago
allocators.h Add some const_casts in places where we were implicitly casting away constness. No functional change, but now they're explicit 9 years ago
any_helpers.h [libcxx] [test] Rename _Tp to T. NFCI. 8 years ago
archetypes.hpp [test] support machinery changes for EDG & C1XX /Za 9 years ago
archetypes.ipp [test] support machinery changes for EDG & C1XX /Za 9 years ago
asan_testing.h Remove trailing whitespace in test suite. Approved by Marshall Clow. 10 years ago
assert_checkpoint.h Add checkpoint diagnostics to help diagnose buildbot failures. 9 years ago
cmpxchg_loop.h Add missing license headers 10 years ago
constexpr_char_traits.hpp [libc++] Fix PR 31938 - std::basic_string constructors use non-deductible parameter types. 9 years ago
container_test_types.h [libcxx] [test] Fix MSVC warnings, null pointer deref. 8 years ago
controlled_allocators.hpp [libcxx] [test] Fix comment typos, strip trailing whitespace. 9 years ago
coroutine_types.h [coroutines] Add end-to-end tests within libc++ 9 years ago
count_new.hpp Attempt to avoid static init ordering issues with globalMemCounter 8 years ago
counting_predicates.hpp [libcxx] [test] Update for C++17 feature removals. 8 years ago
debug_mode_helper.h Get more std::string _LIBCPP_DEBUG tests passing 9 years ago
deleter_types.h Overhaul unique_ptr - Implement LWG 2801, 2905, 2520. 9 years ago
demangle.h Fix demangle helper after r286788 9 years ago
disable_missing_braces_warning.h Get all tuple tests passing on Windows 9 years ago
emplace_constructible.h fix shadowing warnings in new tests, try 2 8 years ago
experimental_any_helpers.h [libcxx] [test] Rename _Tp to T. NFCI. 8 years ago
external_threads.cpp [libc++] Cleanup and document <__threading_support> 9 years ago
filesystem_dynamic_test_helper.py Fix misspelling of environment throughout libc++ 9 years ago
filesystem_test_helper.hpp Fix misspelling of environment throughout libc++ 9 years ago
hexfloat.h Don't use std::__clz in 'test/support/hexfloat.h'. 10 years ago
is_transparent.h Fix bug 33389 - __is_transparent check requires too much 9 years ago
min_allocator.h Implement P0513R0 - "Poisoning the Hash" 9 years ago
msvc_stdlib_force_include.hpp [libcxx] [test] Silence warning C4324 for MSVC. 8 years ago
nasty_containers.hpp [libcxx] [test] Untabify, NFC. 8 years ago
nasty_macros.hpp Rename identifiers named `__output` 8 years ago
nothing_to_do.pass.cpp test commit 11 years ago
platform_support.h [libcxx] [test] Fix URLs in comments and make them HTTPS. NFC. 8 years ago
poisoned_hash_helper.hpp [test] Remove workaround for C1XX conversion-to-nullptr bug 9 years ago
private_constructor.hpp Add license headers to a bunch of libc++ files that were missing them. No functionality change. Fixes 18291. Thanks to Nico for the bug report and the patch. 12 years ago
propagate_const_helpers.h Implement std::experimental::propagate_const from LFTS v2 10 years ago
rapid-cxx-test.hpp Add Filesystem TS -- Complete 10 years ago
set_windows_crt_report_mode.h [libc++][CMake] Use debug MSVC runtimes when libc++ is built in debug mode 9 years ago
test_allocator.h Fix undefined behavior in container swap tests. 9 years ago
test_convertible.hpp [libcxx] [test] Make files consistently end with newlines, NFC. 8 years ago
test_iterators.h Make next/prev/advance/distance operations on iterators be constexpr. I missed this when I implemented the rest of P0031R0 9 years ago
test_macros.h Change (void) casts to TEST_IGNORE_NODISCARD, as requested by Eric. Reviewed as https://reviews.llvm.org/D40065 8 years ago
test_memory_resource.hpp [libcxx] [test] Fix comment typos, strip trailing whitespace. 9 years ago
test_workarounds.h [test] Remove workaround for C1XX empty parameter pack bug 9 years ago
tracked_value.h Cleanup _LIBCPP_HAS_NO_<c++11-feature> in support headers and final tests 9 years ago
type_id.h Refactor uses_allocator test types for upcoming fixes 9 years ago
unique_ptr_test_helper.h Simplify test helper 9 years ago
user_defined_integral.hpp Add missing license headers 10 years ago
uses_alloc_types.hpp [test] Remove workaround for C1XX empty parameter pack bug 9 years ago
variant_test_helpers.hpp [test] Test changes to accommodate LWG 2904 "Make variant move-assignment more exception safe" 9 years ago