https://github.com/PiotrZSL commented:

I'm not sure about this. This check is about IMPLICIT casts, you can always do 
explicit cast in C (via functional cast or c-style  cast) or C++ 
(reinterpret_cast) to say that mutli-level pointer conversion is expected in 
that place.

If some C project got lot of such issues that they don't want to fix, then 
probably they should just disable a check.

In such case I don't see a reason to limit check to C++ only always. 
It still could be done via some check option.


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