[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
Sat Apr 11 03:32:31 PDT 2026


================
@@ -491,14 +454,16 @@ Changes in existing checks
     implicit conversions of logical operator results (``&&``, ``||``, ``!``)
     to ``bool`` in C.
 
-- Improved :doc:`readability-non-const-parameter
-  <clang-tidy/checks/readability/non-const-parameter>` check:
+- Improved :doc:`readability-redundant-casting
----------------
zeyi2 wrote:

Please maintain alphabetical order :)

The new entry should be placed between `readability-non-const-parameter` and `readability-redundant-preprocessor`.

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


More information about the cfe-commits mailing list