Backout enabling -Wshadow until I have time to fix the breakage

llvm-svn: 284952
This commit is contained in:
Eric Fiselier 2016-10-23 22:24:11 +00:00
parent 93d28f3507
commit d11fdad33e
1 changed files with 2 additions and 1 deletions

View 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')