mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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
This commit is contained in:
committed by
Joe Masilotti
parent
739b0e9c56
commit
5ea582cf35
@@ -673,10 +673,10 @@ case BuiltinValueKind::id:
|
||||
return nullptr;
|
||||
APFloat TruncVal = V->getValue();
|
||||
Type DestTy = Builtin.Types[1];
|
||||
bool loosesInfo;
|
||||
bool losesInfo;
|
||||
APFloat::opStatus ConversionStatus = TruncVal.convert(
|
||||
DestTy->castTo<BuiltinFloatType>()->getAPFloatSemantics(),
|
||||
APFloat::rmNearestTiesToEven, &loosesInfo);
|
||||
APFloat::rmNearestTiesToEven, &losesInfo);
|
||||
SILLocation Loc = BI->getLoc();
|
||||
|
||||
// Check if conversion was successful.
|
||||
|
||||
Reference in New Issue
Block a user