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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to