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.
Billy Robert O'Neal III
b5a065c209
Fix possible loss of data warnings on amd64
...
In T_size_size.pass, there is an explicit template argument to std::min to ask
for unsigned, to avoid type deduction errors. However, C1XX' warnings still
hate this use, because a 64 bit value (a size_t) is being passed to a function
accepting an unsigned (a 32 bit value).
Instead, change the tests to pass around std::size_t instances, and explicitly
narrow when constructing the string type under test. This also allows
removal of explicit template arguments to std::min.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@302473 91177308-0d34-0410-b5e6-96231b3b80d8
9 years ago
..
T_size_size.pass.cpp
Fix possible loss of data warnings on amd64
9 years ago
alloc.pass.cpp
Support allocators with explicit conversion constructors. Fixes bug #29000
9 years ago
brace_assignment.pass.cpp
Fix std::string assignment ambiguity from braced initializer lists.
9 years ago
char_assignment.pass.cpp
Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros
10 years ago
copy.pass.cpp
Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros
10 years ago
copy_alloc.pass.cpp
[libcxx] [test] Strip trailing whitespace.
9 years ago
copy_assignment.pass.cpp
Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros
10 years ago
default_noexcept.pass.cpp
Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros
10 years ago
dtor_noexcept.pass.cpp
[libcxx] [test] Fix Clang -Wunused-local-typedef, part 1/3.
9 years ago
implicit_deduction_guides.pass.cpp
Remove XFAIL in implicit_deduction_guides tests
9 years ago
initializer_list.pass.cpp
Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros
10 years ago
initializer_list_assignment.pass.cpp
Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros
10 years ago
iter_alloc.pass.cpp
[libcxx] [test] Fix Clang -Wunused-local-typedef, part 2/3.
9 years ago
move.pass.cpp
Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros
10 years ago
move_alloc.pass.cpp
Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros
10 years ago
move_assign_noexcept.pass.cpp
Remove trailing whitespace in test suite. Approved by Marshall Clow.
10 years ago
move_assignment.pass.cpp
Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros
10 years ago
move_noexcept.pass.cpp
Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros
10 years ago
pointer_alloc.pass.cpp
[libcxx] [test] Fix Clang -Wunused-local-typedef, part 2/3.
9 years ago
pointer_assignment.pass.cpp
Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros
10 years ago
pointer_size_alloc.pass.cpp
[libcxx] [test] Fix Clang -Wunused-local-typedef, part 2/3.
9 years ago
size_char_alloc.pass.cpp
[libcxx] [test] Fix Clang -Wunused-local-typedef, part 2/3.
9 years ago
string_view.fail.cpp
Implement std::string_view as described in http://wg21.link/P0254R1 . Reviewed as https://reviews.llvm.org/D21459
9 years ago
string_view.pass.cpp
Fix std::string assignment ambiguity from braced initializer lists.
9 years ago
substr.pass.cpp
[libcxx] [test] Fix Clang -Wunused-local-typedef, part 2/3.
9 years ago