[cfe-dev] Expression type unexpected

Daniel Dilts via cfe-dev cfe-dev at lists.llvm.org
Wed Nov 25 10:20:46 PST 2015


>
> It makes sense to me that int->MyType->int occurs.  Could someone explain
> what I am missing, why I get these results, and how to get what I would
> expect (X->MyType->X)?
>

I am seeing in the AST an ImplicitCastExpr to int.  Why is this present?  I
thought that the arguments are passed to a variadic function as their
actual types.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20151125/682d0847/attachment.html>


More information about the cfe-dev mailing list