[clang-tools-extra] [clang-tidy] Fix `modernize-use-constraints` crash on uses of nonstandard `enable_if`s (PR #152938)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 10 12:51:37 PDT 2025


================
@@ -136,6 +136,11 @@ Changes in existing checks
 - Improved :doc:`misc-header-include-cycle
   <clang-tidy/checks/misc/header-include-cycle>` check performance.
 
+- Fixed a :doc:`modernize-use-constraints
+  <clang-tidy/checks/modernize/use-constraints>` crash on uses of
+  nonstandard ``enable_if``s with a signature different from
----------------
vbvictor wrote:

```suggestion
  non-standard ``enable_if`` with a signature different from
```
Because of `'s` formatting was bugged.

https://github.com/llvm/llvm-project/pull/152938


More information about the cfe-commits mailing list