summaryrefslogtreecommitdiffstats
path: root/pstl/test/std/algorithms/alg.nonmodifying/equal.pass.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-05-30 20:46:31 +0000
committerLouis Dionne <ldionne@apple.com>2019-05-30 20:46:31 +0000
commit5c4c44310a38ff77e15585636da57a66e737570d (patch)
tree6b969b713f66bcbbb6650fae8772bc4aba63b2c4 /pstl/test/std/algorithms/alg.nonmodifying/equal.pass.cpp
parenta481b01e958b19c2eb6564ab8930eae9058967f8 (diff)
downloadbcm5719-llvm-5c4c44310a38ff77e15585636da57a66e737570d.tar.gz
bcm5719-llvm-5c4c44310a38ff77e15585636da57a66e737570d.zip
[pstl] Remove various warnings in the pstl headers and tests
- unused parameter warnings - don't use single-letter template parameter names, like we do in libc++ - sign-comparison warnings - unused variables in the tests - unused local typedefs in the tests - the use of #include_next - field reordering in the tests - unused lambda captures Note that the rationale for why the static_casts to unsigned are OK is that last - first must always be non-negative, since [first, last) is a valid range. llvm-svn: 362148
Diffstat (limited to 'pstl/test/std/algorithms/alg.nonmodifying/equal.pass.cpp')
-rw-r--r--pstl/test/std/algorithms/alg.nonmodifying/equal.pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pstl/test/std/algorithms/alg.nonmodifying/equal.pass.cpp b/pstl/test/std/algorithms/alg.nonmodifying/equal.pass.cpp
index ea4c09ec18d..192babb29e0 100644
--- a/pstl/test/std/algorithms/alg.nonmodifying/equal.pass.cpp
+++ b/pstl/test/std/algorithms/alg.nonmodifying/equal.pass.cpp
@@ -20,10 +20,10 @@ using namespace TestUtils;
struct UserType
{
+ size_t key;
float32_t f;
float64_t d;
int32_t i;
- size_t key;
bool
operator()(UserType a, UserType b)
OpenPOWER on IntegriCloud