98605940df7a54649618c541b972a308cccaade9 |
|
06-Dec-2016 |
Stephan T. Lavavej <stl@exchange.microsoft.com> |
[libcxx] [test] D27021: Fix MSVC warning C4389 "signed/unsigned mismatch", part 8/12. Add static_cast<std::size_t> when comparing distance() to size(). These replacements were performed programmatically with regex_replace(): const vector<pair<regex, string>> reg_fmt = { { regex(R"(assert\((\w+)\.size\(\) == std::distance\((\w+, \w+)\)\))"), "assert($1.size() == static_cast<std::size_t>(std::distance($2)))" }, { regex(R"(assert\(distance\((\w+\.begin\(\), \w+\.end\(\))\) == (\w+)\.size\(\)\))"), "assert(static_cast<std::size_t>(distance($1)) == $2.size())" }, { regex(R"(assert\(std::distance\((\w+\.\w*begin\(\), \w+\.\w*end\(\))\) == (\w+)\.size\(\)\))"), "assert(static_cast<std::size_t>(std::distance($1)) == $2.size())" }, }; Also, include <cstddef> when it wasn't already being included. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@288745 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/pop_front.pass.cpp
|
388c2a8e68c75d05607434b22fab4d53176a2142 |
|
23-Nov-2016 |
Stephan T. Lavavej <stl@exchange.microsoft.com> |
[libcxx] [test] D27014: Fix MSVC warning C4018 "signed/unsigned mismatch", part 2/12. Add static_cast<std::size_t> when comparing int to std::size_t. Also, include <cstddef> when it wasn't already being included. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@287822 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/pop_front.pass.cpp
|
d24c465beaec2fe9a0e365e6379cd5d3acaeb2ca |
|
14-Jun-2016 |
Eric Fiselier <eric@efcs.ca> |
Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. This is a huge cleanup that helps make the libc++ test suite more portable. Patch from STL@microsoft.com. Thanks STL! git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@272716 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/pop_front.pass.cpp
|
5495e2efb9ea9fcb273ebed2f92b912ace28e82b |
|
10-Feb-2015 |
Eric Fiselier <eric@efcs.ca> |
Fix more issues exposed by -pedantic-errors in c++03 mode git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@228711 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/pop_front.pass.cpp
|
a90c6dd46005b2b14de3bb889a8d03bb34bd3256 |
|
20-Dec-2014 |
Eric Fiselier <eric@efcs.ca> |
Move test into test/std subdirectory. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@224658 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/pop_front.pass.cpp
|