Sirraide wrote:

> I've probably been staring at this way too long, but here's what's going on. 
> My test is:

My bad, I remember looking into this yesterday or the day before; from what I 
could tell, it seems I may have forgotten to share what I found here: I think 
the problem is that the code paths for C++ and C are very different; C++ calls 
`isFunctionConversion`, and then just moves on w/ its life and treats it as a 
standard conversion, whereas C uses it to check for incompatible pointer 
conversions; have you tried maybe simply not setting `Changed` to `true` 
(perhaps only in C mode)?



https://github.com/llvm/llvm-project/pull/84983
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to