Turn on -Wshadow so I find occurances before STL does

llvm-svn: 284944
This commit is contained in:
Eric Fiselier 2016-10-23 19:01:10 +00:00
parent 1e96d5380e
commit b51325cefe
1 changed files with 1 additions and 0 deletions

View File

@ -627,6 +627,7 @@ class Configuration(object):
'-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER',
'-Wall', '-Wextra', '-Werror'
]
self.cxx.addWarningFlagIfSupported('-Wshadow')
self.cxx.addWarningFlagIfSupported('-Wno-unused-command-line-argument')
self.cxx.addWarningFlagIfSupported('-Wno-attributes')
self.cxx.addWarningFlagIfSupported('-Wno-pessimizing-move')