Sometimes a project may want to enable this check only in C++, and
disable it in C, since the patterns the check warns about are quite
common and idiomatic in C, and there are no better alternatives.
Fixes#140659
Co-authored-by: Carlos Gálvez <carlos.galvez@zenseact.com>
Detects implicit conversions between pointers of different levels of
indirection.
Reviewed By: xgupta
Differential Revision: https://reviews.llvm.org/D149084