summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-10-23 19:01:10 +0000
committerEric Fiselier <eric@efcs.ca>2016-10-23 19:01:10 +0000
commitb51325cefe77c6a3e9b8d06e40ece765c3edf2fd (patch)
tree8eb0cad6d0955721e5bf4c426e8a8a30c2de235e /libcxx/test
parent1e96d5380ef393ecd1c414c59070a33486cf067d (diff)
downloadbcm5719-llvm-b51325cefe77c6a3e9b8d06e40ece765c3edf2fd.tar.gz
bcm5719-llvm-b51325cefe77c6a3e9b8d06e40ece765c3edf2fd.zip
Turn on -Wshadow so I find occurances before STL does
llvm-svn: 284944
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/libcxx/test/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/test/libcxx/test/config.py b/libcxx/test/libcxx/test/config.py
index 6655743aef9..7db7636dbf6 100644
--- a/libcxx/test/libcxx/test/config.py
+++ b/libcxx/test/libcxx/test/config.py
@@ -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')
OpenPOWER on IntegriCloud