[libcxx] r284944 - Turn on -Wshadow so I find occurances before STL does
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 23 12:01:10 PDT 2016
Author: ericwf
Date: Sun Oct 23 14:01:10 2016
New Revision: 284944
URL: http://llvm.org/viewvc/llvm-project?rev=284944&view=rev
Log:
Turn on -Wshadow so I find occurances before STL does
Modified:
libcxx/trunk/test/libcxx/test/config.py
Modified: libcxx/trunk/test/libcxx/test/config.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/test/config.py?rev=284944&r1=284943&r2=284944&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/test/config.py (original)
+++ libcxx/trunk/test/libcxx/test/config.py Sun Oct 23 14:01:10 2016
@@ -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')
More information about the cfe-commits
mailing list