fix shadowing warnings in new tests
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@315997 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/support/emplace_constructible.h b/test/support/emplace_constructible.h
index f2bc0ec..54fa687 100644
--- a/test/support/emplace_constructible.h
+++ b/test/support/emplace_constructible.h
@@ -7,7 +7,7 @@
template <class T>
struct EmplaceConstructible {
T value;
- explicit EmplaceConstructible(T value) : value(value) {}
+ explicit EmplaceConstructible(T xvalue) : value(xvalue) {}
EmplaceConstructible(EmplaceConstructible const&) = delete;
};
@@ -15,7 +15,7 @@
struct EmplaceConstructibleAndMoveInsertable {
int copied = 0;
T value;
- explicit EmplaceConstructibleAndMoveInsertable(T value) : value(value) {}
+ explicit EmplaceConstructibleAndMoveInsertable(T xvalue) : value(xvalue) {}
EmplaceConstructibleAndMoveInsertable(
EmplaceConstructibleAndMoveInsertable&& Other)
@@ -27,7 +27,7 @@
int copied = 0;
int assigned = 0;
T value;
- explicit EmplaceConstructibleAndMoveable(T value) noexcept : value(value) {}
+ explicit EmplaceConstructibleAndMoveable(T xvalue) noexcept : value(xvalue) {}
EmplaceConstructibleAndMoveable(EmplaceConstructibleAndMoveable&& Other)
noexcept : copied(Other.copied + 1),