Skip to content

Commit e07d512

Browse files
xymusbeccadax
authored andcommitted
ClangImporter: update test where the keyword order changed
rdar://problem/53281050
1 parent 28aa25e commit e07d512

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/ClangImporter/CoreGraphics_test.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,16 +115,16 @@ public func testRenames(transform: CGAffineTransform, context: CGContext,
115115

116116
context.clip(to: rect)
117117
context.clip(to: rect, mask: image)
118-
// CHECK: call void @CGContextClipToRect(%struct.CGContext* [[CONTEXT]], %struct.CGRect* byval nonnull align 8 %{{.*}})
119-
// CHECK: call void @CGContextClipToMask(%struct.CGContext* [[CONTEXT]], %struct.CGRect* byval nonnull align 8 %{{.*}}, %struct.CGImage* %{{.*}})
118+
// CHECK: call void @CGContextClipToRect(%struct.CGContext* [[CONTEXT]], %struct.CGRect* nonnull byval align 8 %{{.*}})
119+
// CHECK: call void @CGContextClipToMask(%struct.CGContext* [[CONTEXT]], %struct.CGRect* nonnull byval align 8 %{{.*}}, %struct.CGImage* %{{.*}})
120120

121121
var slice = CGRect.zero
122122
var remainder = CGRect.zero
123123
rect.__divided(slice: &slice, remainder: &remainder, atDistance: CGFloat(2.0),
124124
from: edge)
125125
assert((slice, remainder) == rect.divided(atDistance: CGFloat(2.0),
126126
from: edge))
127-
// CHECK: call void @CGRectDivide(%struct.CGRect* byval nonnull align 8 %{{.*}}, %struct.CGRect* nonnull %{{.*}}, %struct.CGRect* nonnull %{{.*}}, double {{2\.0+.*}}, i32 %{{.*}})
127+
// CHECK: call void @CGRectDivide(%struct.CGRect* nonnull byval align 8 %{{.*}}, %struct.CGRect* nonnull %{{.*}}, %struct.CGRect* nonnull %{{.*}}, double {{2\.0+.*}}, i32 %{{.*}})
128128
//
129129
// CHECK: ret void
130130
}

0 commit comments

Comments
 (0)