File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -136,9 +136,9 @@ Changes in existing checks
136
136
- Improved :doc: `misc-header-include-cycle
137
137
<clang-tidy/checks/misc/header-include-cycle>` check performance.
138
138
139
- - Fixed a :doc: `modernize-use-constraints
140
- <clang-tidy/checks/modernize/use-constraints>` crash on uses of
141
- nonstandard ``enable_if``s with a signature different from
139
+ - Improved :doc: `modernize-use-constraints
140
+ <clang-tidy/checks/modernize/use-constraints>` check by fixing a crash on
141
+ uses of non-standard ``enable_if `` with a signature different from
142
142
``std::enable_if `` (such as ``boost::enable_if ``).
143
143
144
144
- Improved :doc: `modernize-use-designated-initializers
Original file line number Diff line number Diff line change @@ -762,7 +762,7 @@ struct some_type_trait {
762
762
static constexpr bool value = true ;
763
763
};
764
764
765
- // Fix-its are offered even for a nonstandard enable_if.
765
+ // Fix-its are offered even for a non-standard enable_if.
766
766
namespace nonstd {
767
767
768
768
template <bool Condition, typename T = void >
@@ -775,7 +775,7 @@ typename nonstd::enable_if<some_type_trait<T>::value, void>::type nonstd_enable_
775
775
// CHECK-MESSAGES: :[[@LINE-1]]:1: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints]
776
776
// CHECK-FIXES: {{^}}void nonstd_enable_if() requires some_type_trait<T>::value {}{{$}}
777
777
778
- // But only if the nonstandard enable_if has the same signature as the standard one.
778
+ // But only if the non-standard enable_if has the same signature as the standard one.
779
779
namespace boost {
780
780
781
781
template <typename Condition, typename T = void >
You can’t perform that action at this time.
0 commit comments