[clang-tools-extra] [clang-tidy] Fix bugprone-misplaced-widening-cast false positive on bitfield assignments (PR #197554)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 17 08:54:47 PDT 2026
================
@@ -380,6 +372,12 @@ Changes in existing checks
<clang-tidy/checks/bugprone/macro-parentheses>` check by printing the macro
definition in the warning message if the macro is defined on command line.
+- Improved :doc:`bugprone-misplaced-widening-cast
+ <clang-tidy/checks/bugprone/misplaced-widening-cast>` check by fixing a false
+ positive on bit field assignments when `CheckImplicitCasts` is enabled. The
----------------
earnol wrote:
Done.
https://github.com/llvm/llvm-project/pull/197554
More information about the cfe-commits
mailing list