Skip to content

Commit 37d96dc

Browse files
committed
Fix broken API notes uncovered by strengthened Clang-side validation.
1 parent 296263f commit 37d96dc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apinotes/CoreGraphics.apinotes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Functions:
8989
- Name: CGBitmapContextCreateWithData
9090
SwiftName: CGContextRef.init(data:width:height:bitsPerComponent:bytesPerRow:space:bitmapInfo:releaseCallback:releaseInfo:)
9191
- Name: CGBitmapContextCreate
92-
SwiftName: CGContextRef.init(data:width:height:bitsPerComponent:bytesPerRow:space:bitmapInfo)
92+
SwiftName: CGContextRef.init(data:width:height:bitsPerComponent:bytesPerRow:space:bitmapInfo:)
9393
- Name: CGBitmapContextGetData
9494
SwiftName: getter:CGContextRef.data(self:)
9595
- Name: CGBitmapContextGetWidth

test/ClangModules/Inputs/custom-modules/SwiftName.apinotes

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ Enumerators:
55
SwiftName: challenging
66
Functions:
77
- Name: spuriousAPINotedSwiftName
8-
SwiftName: spuriousAPINotedSwiftName
8+
SwiftName: spuriousAPINotedSwiftName(_:)
99
- Name: poorlyNamedFunction
10-
SwiftName: nicelyRenamedFunction
10+
SwiftName: nicelyRenamedFunction(_:)

0 commit comments

Comments
 (0)