[libcxx] r293619 - Workaround new -Wshadow warning introduced by r293599

Alex Lorenz via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 31 04:37:48 PST 2017


Author: arphaman
Date: Tue Jan 31 06:37:48 2017
New Revision: 293619

URL: http://llvm.org/viewvc/llvm-project?rev=293619&view=rev
Log:
Workaround new -Wshadow warning introduced by r293599

Modified:
    libcxx/trunk/test/std/strings/basic.string/string.cons/copy_alloc.pass.cpp

Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/copy_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/copy_alloc.pass.cpp?rev=293619&r1=293618&r2=293619&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/copy_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/copy_alloc.pass.cpp Tue Jan 31 06:37:48 2017
@@ -44,7 +44,7 @@ struct poca_alloc {
 
     alloc_imp<T> *imp;
 
-    poca_alloc(alloc_imp<T> *imp) : imp (imp) {}
+    poca_alloc(alloc_imp<T> *ximp) : imp (ximp) {}
 
     template <class U>
     poca_alloc(const poca_alloc<U>& other) : imp(other.imp) {}




More information about the cfe-commits mailing list