Author: Gousemoodhin Nadaf Date: 2020-08-09T21:04:00+02:00 New Revision: 898880fe4e329ce7fc6bbe30f309ef3b91535c21
URL: https://github.com/llvm/llvm-project/commit/898880fe4e329ce7fc6bbe30f309ef3b91535c21 DIFF: https://github.com/llvm/llvm-project/commit/898880fe4e329ce7fc6bbe30f309ef3b91535c21.diff LOG: [clang] Fix typo in comment In the handleIntToFloatConversion() function, 6th parameter is ConvertFloat, 7th parameter is ConvertInt. Reviewed By: njames93, xbolva00 Differential Revision: https://reviews.llvm.org/D85568 Added: Modified: clang/lib/Sema/SemaExpr.cpp Removed: ################################################################################ diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index 74427f8cd7ae..fe997e7719e7 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -1151,8 +1151,8 @@ static QualType handleFloatConversion(Sema &S, ExprResult &LHS, } assert(RHSFloat); return handleIntToFloatConversion(S, RHS, LHS, RHSType, LHSType, - /*convertInt=*/ true, - /*convertFloat=*/!IsCompAssign); + /*ConvertFloat=*/ true, + /*ConvertInt=*/!IsCompAssign); } /// Diagnose attempts to convert between __float128 and long double if _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits