[clang-tools-extra] [clang-tidy][NFC] Clarify some options use regex to matching in doc (1/N) (PR #161142)

Victor Chernyakin via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 29 12:14:10 PDT 2025


================
@@ -30,8 +30,8 @@ Options
 
 .. option:: ExcludedComparisonTypes
 
-    A semicolon-separated list of class names for which the check will ignore
-    comparisons of objects with default-constructed objects of the same type.
-    If a class is listed here, the check will not suggest using ``empty()``
-    instead of such comparisons for objects of that class.
-    Default value is: `::std::array`.
+    A semicolon-separated list of regular expressions matching class names that
+    the check will ignore comparisons of objects with default-constructed
----------------
localspook wrote:

```suggestion
    A semicolon-separated list of regular expressions matching class names for
    which the check will ignore comparisons of objects with default-constructed
```
Here I think the original reads better

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


More information about the cfe-commits mailing list