[libcxx] r272809 - Add -Wno-unused-command-line-argument when running the test suite to prevent errors

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 15 10:25:06 PDT 2016


Author: ericwf
Date: Wed Jun 15 12:25:05 2016
New Revision: 272809

URL: http://llvm.org/viewvc/llvm-project?rev=272809&view=rev
Log:
Add -Wno-unused-command-line-argument when running the test suite to prevent errors

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=272809&r1=272808&r2=272809&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/test/config.py (original)
+++ libcxx/trunk/test/libcxx/test/config.py Wed Jun 15 12:25:05 2016
@@ -538,6 +538,7 @@ class Configuration(object):
                 '-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER',
                 '-Wall', '-Wextra', '-Werror'
             ]
+            self.cxx.addWarningFlagIfSupported('-Wno-unused-command-line-argument')
             self.cxx.addWarningFlagIfSupported('-Wno-attributes')
             self.cxx.addWarningFlagIfSupported('-Wno-pessimizing-move')
             self.cxx.addWarningFlagIfSupported('-Wno-c++11-extensions')




More information about the cfe-commits mailing list