[clang-tools-extra] [clang-tidy] Disable bugprone-multi-level-pointer-conversion in C code (PR #141209)

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Fri May 23 05:12:05 PDT 2025


carlosgalvezp wrote:

You can check the discussion in the linked issue. The argument is that these casts are idiomatic in C, and does not make sense to pollute the code with casts. There's no other safer alternative either.

> then probably they should just disable a check

There doesn't appear to be an actual true positive in C where the check is useful as per the discussion.


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


More information about the cfe-commits mailing list