forked from OSchip/llvm-project
Turn on -Wshadow so I find occurances before STL does
llvm-svn: 284944
This commit is contained in:
parent
1e96d5380e
commit
b51325cefe
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue