Skip to content

Commit 5ea582c

Browse files
committed
Fix grammar of variable
Change variable name to match method signature of APFloat::convert http://llvm.org/docs/doxygen/html/classllvm_1_1APFloat.html#a4fa2f1464bb4f645082d8aa0e0a9bc0e
1 parent 739b0e9 commit 5ea582c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/SILOptimizer/Mandatory/ConstantPropagation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,10 +673,10 @@ case BuiltinValueKind::id:
673673
return nullptr;
674674
APFloat TruncVal = V->getValue();
675675
Type DestTy = Builtin.Types[1];
676-
bool loosesInfo;
676+
bool losesInfo;
677677
APFloat::opStatus ConversionStatus = TruncVal.convert(
678678
DestTy->castTo<BuiltinFloatType>()->getAPFloatSemantics(),
679-
APFloat::rmNearestTiesToEven, &loosesInfo);
679+
APFloat::rmNearestTiesToEven, &losesInfo);
680680
SILLocation Loc = BI->getLoc();
681681

682682
// Check if conversion was successful.

0 commit comments

Comments
 (0)