[libcxx] r284952 - Backout enabling -Wshadow until I have time to fix the breakage

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 23 15:24:11 PDT 2016


Author: ericwf
Date: Sun Oct 23 17:24:11 2016
New Revision: 284952

URL: http://llvm.org/viewvc/llvm-project?rev=284952&view=rev
Log:
Backout enabling -Wshadow until I have time to fix the breakage

Modified:
    libcxx/trunk/test/libcxx/test/config.py

Modified: libcxx/trunk/test/libcxx/test/config.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/test/config.py?rev=284952&r1=284951&r2=284952&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/test/config.py (original)
+++ libcxx/trunk/test/libcxx/test/config.py Sun Oct 23 17:24:11 2016
@@ -627,7 +627,8 @@ class Configuration(object):
                 '-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER',
                 '-Wall', '-Wextra', '-Werror'
             ]
-            self.cxx.addWarningFlagIfSupported('-Wshadow')
+            # FIXME turn this back on after fixing potential breakage.
+            #self.cxx.addWarningFlagIfSupported('-Wshadow')
             self.cxx.addWarningFlagIfSupported('-Wno-unused-command-line-argument')
             self.cxx.addWarningFlagIfSupported('-Wno-attributes')
             self.cxx.addWarningFlagIfSupported('-Wno-pessimizing-move')




More information about the cfe-commits mailing list