[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:07 PDT 2026


================
@@ -0,0 +1,235 @@
+// RUN: %check_clang_tidy %s bugprone-misplaced-widening-cast %t -- \
+// RUN:     -config="{CheckOptions: {bugprone-misplaced-widening-cast.CheckImplicitCasts: true}}" \
----------------
earnol wrote:

Done.

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


More information about the cfe-commits mailing list