[libcxx] r316009 - fix shadowing warnings in new tests, try 2

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 17 09:06:42 PDT 2017


Author: ericwf
Date: Tue Oct 17 09:06:42 2017
New Revision: 316009

URL: http://llvm.org/viewvc/llvm-project?rev=316009&view=rev
Log:
fix shadowing warnings in new tests, try 2

Modified:
    libcxx/trunk/test/support/emplace_constructible.h

Modified: libcxx/trunk/test/support/emplace_constructible.h
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/support/emplace_constructible.h?rev=316009&r1=316008&r2=316009&view=diff
==============================================================================
--- libcxx/trunk/test/support/emplace_constructible.h (original)
+++ libcxx/trunk/test/support/emplace_constructible.h Tue Oct 17 09:06:42 2017
@@ -47,8 +47,8 @@ struct EmplaceConstructibleMoveableAndAs
   int copied = 0;
   int assigned = 0;
   T value;
-  explicit EmplaceConstructibleMoveableAndAssignable(T value) noexcept
-      : value(value) {}
+  explicit EmplaceConstructibleMoveableAndAssignable(T xvalue) noexcept
+      : value(xvalue) {}
 
   EmplaceConstructibleMoveableAndAssignable(
       EmplaceConstructibleMoveableAndAssignable&& Other) noexcept




More information about the cfe-commits mailing list