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

Nathan James via cfe-dev cfe-dev at lists.llvm.org
Sun Jul 5 10:49:08 PDT 2020


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



More information about the cfe-dev mailing list