diff options
| author | Eric Fiselier <eric@efcs.ca> | 2019-12-12 20:48:11 -0500 | 
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2019-12-12 21:09:08 -0500 | 
| commit | f97936fabd263e3b311e3b8e9ffca4920e4fcff0 (patch) | |
| tree | 2c9de3065660c9a37f8e963b2380a19d3ca0d8b9 /libcxx/test/std/utilities/optional | |
| parent | a8154e5e0c83d2f0f65f3b4fb1a0bc68785bd975 (diff) | |
| download | bcm5719-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/test/std/utilities/optional')
| -rw-r--r-- | libcxx/test/std/utilities/optional/optional.object/optional.object.assign/copy.pass.cpp | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/copy.pass.cpp b/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/copy.pass.cpp index a5ff10201c9..f14e20657d7 100644 --- a/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/copy.pass.cpp +++ b/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/copy.pass.cpp @@ -30,6 +30,7 @@ struct X          if (throw_now)              TEST_THROW(6);      } +    X& operator=(X const&) = default;  };  bool X::throw_now = false; | 

