Fix unused parameters and variables
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -659,11 +659,11 @@ class Configuration(object):
|
||||
# These warnings should be enabled in order to support the MSVC
|
||||
# team using the test suite; They enable the warnings below and
|
||||
# expect the test suite to be clean.
|
||||
# FIXME: Re-enable this after fixing remaining occurrences.
|
||||
self.cxx.addWarningFlagIfSupported('-Wno-sign-compare')
|
||||
self.cxx.addWarningFlagIfSupported('-Wunused-variable')
|
||||
self.cxx.addWarningFlagIfSupported('-Wunused-parameter')
|
||||
# FIXME: Enable the two warnings below.
|
||||
self.cxx.addWarningFlagIfSupported('-Wno-unused-variable')
|
||||
self.cxx.addWarningFlagIfSupported('-Wno-unused-parameter')
|
||||
self.cxx.addWarningFlagIfSupported('-Wno-conversion')
|
||||
# TODO(EricWF) Remove the unused warnings once the test suite
|
||||
# compiles clean with them.
|
||||
self.cxx.addWarningFlagIfSupported('-Wno-unused-local-typedef')
|
||||
|
||||
Reference in New Issue
Block a user