Backout enabling -Wshadow until I have time to fix the breakage
authorEric Fiselier <eric@efcs.ca>
Sun, 23 Oct 2016 22:24:11 +0000 (22:24 +0000)
committerEric Fiselier <eric@efcs.ca>
Sun, 23 Oct 2016 22:24:11 +0000 (22:24 +0000)
llvm-svn: 284952

libcxx/test/libcxx/test/config.py

index 7db7636..4e989b8 100644 (file)
@@ -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')