Skip to content

Commit 12dc263

Browse files
author
Doug Wyatt
committed
Clang: Remove -Wperf-constraint-implies-noexcept from -Wall.
1 parent a314b3b commit 12dc263

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,8 @@ Improvements to Clang's diagnostics
350350
Moved the warning for a missing (though implied) attribute on a redeclaration into this group.
351351
Added a new warning in this group for the case where the attribute is missing/implicit on
352352
an override of a virtual method.
353+
- Fixed several false positives and false negatives in function effect (`nonblocking`) analysis. (#GH166078) (#GH166101) (#GH166110)
354+
- Remove ``-Wperf-constraint-implies-noexcept`` from ``-Wall``.
353355
- Implemented diagnostics when retrieving the tuple size for types where its specialization of `std::tuple_size`
354356
produces an invalid size (either negative or greater than the implementation limit). (#GH159563)
355357
- Fixed fix-it hint for fold expressions. Clang now correctly places the suggested right
@@ -482,7 +484,6 @@ Bug Fixes to Attribute Support
482484
- Fix a crash when the function name is empty in the `swift_name` attribute. (#GH157075)
483485
- Fixes crashes or missing diagnostics with the `device_kernel` attribute. (#GH161905)
484486
- Fix handling of parameter indexes when an attribute is applied to a C++23 explicit object member function.
485-
- Fixed several false positives and false negatives in function effect (`nonblocking`) analysis. (#GH166078) (#GH166101) (#GH166110)
486487

487488
Bug Fixes to C++ Support
488489
^^^^^^^^^^^^^^^^^^^^^^^^

clang/include/clang/Basic/DiagnosticGroups.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,9 +1312,9 @@ def Consumed : DiagGroup<"consumed">;
13121312
// Note that putting warnings in -Wall will not disable them by default. If a
13131313
// warning should be active _only_ when -Wall is passed in, mark it as
13141314
// DefaultIgnore in addition to putting it here.
1315-
def All : DiagGroup<"all", [Most, Parentheses, Switch, SwitchBool,
1316-
MisleadingIndentation, PackedNonPod,
1317-
VLACxxExtension, PerfConstraintImpliesNoexcept]>;
1315+
def All
1316+
: DiagGroup<"all", [Most, Parentheses, Switch, SwitchBool,
1317+
MisleadingIndentation, PackedNonPod, VLACxxExtension]>;
13181318

13191319
// Warnings that should be in clang-cl /w4.
13201320
def : DiagGroup<"CL4", [All, Extra]>;

0 commit comments

Comments
 (0)