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
136136- Improved :doc: `misc-header-include-cycle
137137 <clang-tidy/checks/misc/header-include-cycle>` check performance.
138138
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
142142 ``std::enable_if `` (such as ``boost::enable_if ``).
143143
144144- Improved :doc: `modernize-use-designated-initializers
Original file line number Diff line number Diff line change @@ -762,7 +762,7 @@ struct some_type_trait {
762762 static constexpr bool value = true ;
763763};
764764
765- // Fix-its are offered even for a nonstandard enable_if.
765+ // Fix-its are offered even for a non-standard enable_if.
766766namespace nonstd {
767767
768768template <bool Condition, typename T = void >
@@ -775,7 +775,7 @@ typename nonstd::enable_if<some_type_trait<T>::value, void>::type nonstd_enable_
775775// CHECK-MESSAGES: :[[@LINE-1]]:1: warning: use C++20 requires constraints instead of enable_if [modernize-use-constraints]
776776// CHECK-FIXES: {{^}}void nonstd_enable_if() requires some_type_trait<T>::value {}{{$}}
777777
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.
779779namespace boost {
780780
781781template <typename Condition, typename T = void >
You can’t perform that action at this time.
0 commit comments