Skip to content

Commit e6e360b

Browse files
Merge pull request #2535 from practicalswift/code-whitespace
[gardening] Add missing whitespace.
2 parents 04f44e2 + 54427ca commit e6e360b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/LLVMPasses/LLVMMergeFunctions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ int FunctionComparator::cmpConstants(const Constant *L, const Constant *R) {
696696
BasicBlock *RBB = RBA->getBasicBlock();
697697
if (LBB == RBB)
698698
return 0;
699-
for(BasicBlock &BB : F->getBasicBlockList()) {
699+
for (BasicBlock &BB : F->getBasicBlockList()) {
700700
if (&BB == LBB) {
701701
assert(&BB != RBB);
702702
return -1;

stdlib/public/core/FloatingPointTypes.swift.gyb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ cFunctionSuffix = { 32:'f', 64:'', 80:'l' }
3939
def allInts():
4040
for bits in allIntBits:
4141
for signed in False, True:
42-
yield bits,signed
42+
yield bits, signed
4343

4444
def baseIntName(name):
4545
return 'Int' if name == 'Int' else 'Int' + str(name)
@@ -932,7 +932,7 @@ extension ${Self} {
932932
public init(_ other: ${That}) {
933933
_precondition(other.isFinite,
934934
"${That} value cannot be converted to ${Self} because it is either infinite or NaN")
935-
% (lower,upper) = getFtoIBounds(srcBits, int(intBits), signed)
935+
% (lower, upper) = getFtoIBounds(srcBits, int(intBits), signed)
936936
_precondition(other > ${str(lower)}.0,
937937
"${That} value cannot be converted to ${Self} because the result would be less than ${Self}.min")
938938
_precondition(other < ${str(upper)}.0,

0 commit comments

Comments
 (0)