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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits