[clang-tools-extra] [clang-tidy] Add `IgnoreMacro` option to `bugprone-chained-comparison` (PR #171975)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 12 01:57:37 PST 2025
================
@@ -71,3 +71,11 @@ developer's intention more explicit and help avoid misunderstanding.
// This block will be executed
}
+Options
+-------
+
+.. option:: IgnoreMacros
+
+ If ``true``, the check will not warn on chained comparisons inside macros.
+ Default is ``false``.
----------------
vbvictor wrote:
```suggestion
Default is `false`.
```
https://github.com/llvm/llvm-project/pull/171975
More information about the cfe-commits
mailing list