[clang-tools-extra] [clang-tidy] Improve redundant-casting check for binary operation (PR #191386)
Zeyi Xu via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 16 02:25:30 PDT 2026
================
@@ -27,11 +27,24 @@ Options
.. option:: IgnoreMacros
- If set to `true`, the check will not give warnings inside macros. Default
- is `true`.
+ If set to `true`, the check will not give warnings inside macros. Default
+ is `true`.
.. option:: IgnoreTypeAliases
- When set to `false`, the check will consider type aliases, and when set to
- `true`, it will resolve all type aliases and operate on the underlying
- types. Default is `false`.
+ When set to `false`, the check will consider type aliases, and when set to
----------------
zeyi2 wrote:
I'm a bit unsure whether to change the formatting style of these options, Currently we already mix 2 whitespaces and 3 whitespaces indention in the documentation.
Though tbh it's just a minor stylistic preference. I’m okay with keeping it as-is.
https://github.com/llvm/llvm-project/pull/191386
More information about the cfe-commits
mailing list