From: Eric Fiselier Date: Sun, 23 Oct 2016 19:01:10 +0000 (+0000) Subject: Turn on -Wshadow so I find occurances before STL does X-Git-Tag: llvmorg-4.0.0-rc1~6483 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b51325cefe77c6a3e9b8d06e40ece765c3edf2fd;p=platform%2Fupstream%2Fllvm.git Turn on -Wshadow so I find occurances before STL does llvm-svn: 284944 --- diff --git a/libcxx/test/libcxx/test/config.py b/libcxx/test/libcxx/test/config.py index 6655743..7db7636 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')