Skip to content

Commit 57d4f2d

Browse files
Remove redundant backslashes.
1 parent bf90a10 commit 57d4f2d

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

stdlib/public/SDK/CoreGraphics/CoreGraphicsMirrors.swift.gyb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
%TMirrorConformance = gyb.parseTemplate("../../common/MirrorConformance.gyb")
1616
%TMirrorBoilerplate = gyb.parseTemplate("../../common/MirrorBoilerplate.gyb")
1717

18-
% for Type in [['CGPoint',['x','y'],'Point',['x','y']],\
19-
% ['CGSize',['width','height'],'Size',['width','height']],\
18+
% for Type in [['CGPoint',['x','y'],'Point',['x','y']],
19+
% ['CGSize',['width','height'],'Size',['width','height']],
2020
% ['CGRect',['origin','size'],'Rectangle',['origin.x','origin.y','size.width','size.height']]]:
2121
% Self = Type[0]
2222
% Children = Type[1]
@@ -25,11 +25,11 @@
2525
% MirrorDecl = gyb.executeTemplate(TMirrorDecl,introspecteeType=Self,disposition='Struct')
2626
% MirrorConformance = gyb.executeTemplate(TMirrorConformance,introspecteeType=Self,disposition='Struct')
2727
% MirrorBoilerplate = gyb.executeTemplate(TMirrorBoilerplate,introspecteeType=Self,disposition='Struct')
28-
% QLArgFirst=True
28+
% QLArgFirst = True
2929
% QLArgString = ''
3030
% SummaryString = ''
3131
% for QLArg in QLArgs:
32-
% if QLArgFirst == False:
32+
% if not QLArgFirst:
3333
% QLArgString = QLArgString + ', '
3434
% SummaryString = SummaryString + ', '
3535
% else:

stdlib/public/core/CollectionMirrors.swift.gyb

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,24 @@
1515
%TMirrorConformance = gyb.parseTemplate("../common/MirrorConformance.gyb")
1616
%TMirrorBoilerplate = gyb.parseTemplate("../common/MirrorBoilerplate.gyb")
1717

18-
% for Type in [['CollectionOfOne',1,"element",\
19-
% 'CollectionOfOne(\( _reflect(_value.element).summary ))'],\
18+
% for Type in [['CollectionOfOne',1,"element",
19+
% 'CollectionOfOne(\( _reflect(_value.element).summary ))'],
2020
% ['EmptyCollection',0,"DONTSHOWME",'EmptyCollection']]:
2121
% Self = Type[0]
2222
% Count = Type[1]
2323
% ElementName = Type[2]
2424
% SummaryString = Type[3]
25-
% MirrorDecl = gyb.executeTemplate(TMirrorDecl,\
26-
% introspecteeType=Self,\
27-
% genericArgs=['T'],\
25+
% MirrorDecl = gyb.executeTemplate(TMirrorDecl,
26+
% introspecteeType=Self,
27+
% genericArgs=['T'],
2828
% disposition='Struct')
29-
% MirrorConformance = gyb.executeTemplate(TMirrorConformance,\
30-
% introspecteeType=Self,\
31-
% genericArgs=['T'],\
29+
% MirrorConformance = gyb.executeTemplate(TMirrorConformance,
30+
% introspecteeType=Self,
31+
% genericArgs=['T'],
3232
% disposition='Struct')
33-
% MirrorBoilerplate = gyb.executeTemplate(TMirrorBoilerplate,\
34-
% introspecteeType=Self,\
35-
% genericArgs=['T'],\
33+
% MirrorBoilerplate = gyb.executeTemplate(TMirrorBoilerplate,
34+
% introspecteeType=Self,
35+
% genericArgs=['T'],
3636
% disposition='Struct')
3737

3838
${MirrorDecl} {

stdlib/public/core/Interval.swift.gyb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ public func ~= <I: IntervalType>(pattern: I, value: I.Bound) -> Bool {
204204
%import gyb
205205
%TBoilerplate = gyb.parseTemplate("../common/MirrorBoilerplate.gyb")
206206

207-
%Boilerplate = gyb.executeTemplate(TBoilerplate,\
208-
% introspecteeType='T',\
207+
%Boilerplate = gyb.executeTemplate(TBoilerplate,
208+
% introspecteeType='T',
209209
% disposition='Struct')
210210

211211
internal struct _IntervalMirror<

validation-test/stdlib/NumericDiagnostics.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// TODO: Verify the type of the result
1616

1717
func testIteratedOperations() {
18-
% for typesToTest, operatorsToTest in zip([all_integer_type_names(), all_numeric_type_names()], \
18+
% for typesToTest, operatorsToTest in zip([all_integer_type_names(), all_numeric_type_names()],
1919
% [int_ops, arith_ops]):
2020
% operatorsToTest = [x for x in operatorsToTest if not '+' in x and not '-' in x]
2121
%# TODO: rm when rdar://18695154 is fixed.

0 commit comments

Comments
 (0)