[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
Tue Apr 21 06:07:40 PDT 2026


================
@@ -518,6 +518,17 @@ Changes in existing checks
   - Fixed a false positive in array subscript expressions where the types are
     not yet resolved.
 
+- Improved :doc:`readability-redundant-casting
+  <clang-tidy/checks/readability/redundant-casting>` check
+
+  - Fixed a false negative where casts were not flagged as redundant when
----------------
zeyi2 wrote:

Sorry for the push back, IMO we should just have one entry saying:

`... check by adding `IgnoreImplictCasts` option to control .....`

WDYT?

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


More information about the cfe-commits mailing list