summaryrefslogtreecommitdiffstats
path: root/libcxx/utils
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2019-12-12 20:48:11 -0500
committerEric Fiselier <eric@efcs.ca>2019-12-12 21:09:08 -0500
commitf97936fabd263e3b311e3b8e9ffca4920e4fcff0 (patch)
tree2c9de3065660c9a37f8e963b2380a19d3ca0d8b9 /libcxx/utils
parenta8154e5e0c83d2f0f65f3b4fb1a0bc68785bd975 (diff)
downloadbcm5719-llvm-f97936fabd263e3b311e3b8e9ffca4920e4fcff0.tar.gz
bcm5719-llvm-f97936fabd263e3b311e3b8e9ffca4920e4fcff0.zip
[libc++] Cleanup and enable multiple warnings.
Too many warnings are being disabled too quickly. Warnings are important to keeping libc++ correct. This patch re-enables two warnings: -Wconstant-evaluated and -Wdeprecated-copy. In future, all warnings disabled for the test suite should require an attached bug. The bug should state the plan for re-enabling that warning, or a strong case why it should remain disabled.
Diffstat (limited to 'libcxx/utils')
-rw-r--r--libcxx/utils/libcxx/test/config.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py
index 403abe9ddfb..e81571a7f1f 100644
--- a/libcxx/utils/libcxx/test/config.py
+++ b/libcxx/utils/libcxx/test/config.py
@@ -917,8 +917,6 @@ class Configuration(object):
self.cxx.addWarningFlagIfSupported('-Wshadow')
self.cxx.addWarningFlagIfSupported('-Wno-unused-command-line-argument')
self.cxx.addWarningFlagIfSupported('-Wno-attributes')
- self.cxx.addWarningFlagIfSupported('-Wno-deprecated-copy')
- self.cxx.addWarningFlagIfSupported('-Wno-constant-evaluated')
self.cxx.addWarningFlagIfSupported('-Wno-pessimizing-move')
self.cxx.addWarningFlagIfSupported('-Wno-c++11-extensions')
self.cxx.addWarningFlagIfSupported('-Wno-user-defined-literals')
OpenPOWER on IntegriCloud