We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 582c0de commit 5add794Copy full SHA for 5add794
stdlib/public/runtime/SwiftObject.h
@@ -35,6 +35,8 @@
35
// Real class name: mangled "Swift._SwiftObject"
36
#define SwiftObject _TtCs12_SwiftObject
37
38
+#pragma clang diagnostic push
39
+#pragma clang diagnostic ignored "-Wobjc-root-class"
40
#if __has_attribute(objc_root_class)
41
__attribute__((__objc_root_class__))
42
#endif
@@ -43,6 +45,7 @@ SWIFT_RUNTIME_EXPORT @interface SwiftObject<NSObject> {
43
45
Class isa;
44
46
SWIFT_HEAPOBJECT_NON_OBJC_MEMBERS;
47
}
48
+#pragma clang diagnostic pop
49
50
- (BOOL)isEqual:(id)object;
51
- (NSUInteger)hash;
0 commit comments