Backout enabling -Wshadow until I have time to fix the breakage
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@284952 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -627,7 +627,8 @@ class Configuration(object):
|
|||||||
'-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER',
|
'-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER',
|
||||||
'-Wall', '-Wextra', '-Werror'
|
'-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-unused-command-line-argument')
|
||||||
self.cxx.addWarningFlagIfSupported('-Wno-attributes')
|
self.cxx.addWarningFlagIfSupported('-Wno-attributes')
|
||||||
self.cxx.addWarningFlagIfSupported('-Wno-pessimizing-move')
|
self.cxx.addWarningFlagIfSupported('-Wno-pessimizing-move')
|
||||||
|
|||||||
Reference in New Issue
Block a user