[cfe-dev] Confusion: handleIntToFloatConversion() - Function parameters

Gousemoodhin Nadaf via cfe-dev cfe-dev at lists.llvm.org
Sun Jul 5 10:51:21 PDT 2020


Thank you for the clarification.  I will fix the typo and upload the patch.

Regards,
Nadaf.

On Sun, Jul 5, 2020 at 1:49 PM Nathan James <n.james93 at hotmail.co.uk> wrote:

> It's a typo, probably should be fixed. The declaration is correct and
> ConvertFloat is the 6th param, ConvertInt is the 7th.
>
> Regards,
> Nathan
>
> On Sun, 2020-07-05 at 13:39 -0400, Gousemoodhin Nadaf via cfe-dev
> wrote:
> > Hello Team,
> > The definition of function handleIntToFloatConversion() at the line
> > (SemaExpr.cpp: 1092), the 6th and 7th parameter
> > is ConvertFloat, ConvertInt respectively, but I see while calling the
> > function from the line (SemaExpr.cpp: 1154), 6th parameter
> > is convenient, 7th argument is convertFloat, however at another
> > function call at the  line (SemaExpr.cpp: 1149) , 6th argument is
> > ConvertFloat, and 7th parameter is ConvertInt.
> >
> > I would like to know that,  is it correct or mistake?
> >
> > Regards,
> > Nadaf.
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at lists.llvm.org
> > https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200705/ec0489e8/attachment.html>


More information about the cfe-dev mailing list