mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[TBDGen] Add support for Objective-C Categories.
Emit Objective-C Categories for extensions that have the @objc attribute directly (or indirectly via one of its methods, subscripts, etc) attached. Also associate and emit all methods for that category into the API JSON file. This fixes rdar://94734748.
This commit is contained in:
@@ -48,5 +48,6 @@ public struct TestStruct {
|
||||
// CHECK-NEXT: }
|
||||
// CHECK-NEXT: ],
|
||||
// CHECK-NEXT: "interfaces": [],
|
||||
// CHECK-NEXT: "categories": [],
|
||||
// CHECK-NEXT: "version": "1.0"
|
||||
// CHECK-NEXT: }
|
||||
|
||||
Reference in New Issue
Block a user