@@ -760,37 +760,35 @@ struct ClassImpl : ReflectionMirrorImpl {
760
760
#if SWIFT_OBJC_INTEROP
761
761
// Implementation for ObjC classes.
762
762
struct ObjCClassImpl : ClassImpl {
763
- intptr_t count () {
763
+ intptr_t count () override {
764
764
// ObjC makes no guarantees about the state of ivars, so we can't safely
765
765
// introspect them in the general case.
766
766
return 0 ;
767
767
}
768
-
769
- intptr_t childOffset (intptr_t i) {
768
+
769
+ intptr_t childOffset (intptr_t i) override {
770
770
swift::crash (" Cannot get children of Objective-C objects." );
771
771
}
772
772
773
773
const FieldType childMetadata (intptr_t i, const char **outName,
774
- void (**outFreeFunc)(const char *)) {
774
+ void (**outFreeFunc)(const char *)) override {
775
775
swift::crash (" Cannot get children of Objective-C objects." );
776
776
}
777
777
778
778
AnyReturn subscript (intptr_t i, const char **outName,
779
- void (**outFreeFunc)(const char *)) {
779
+ void (**outFreeFunc)(const char *)) override {
780
780
swift::crash (" Cannot get children of Objective-C objects." );
781
781
}
782
782
783
- virtual intptr_t recursiveCount () {
784
- return 0 ;
785
- }
783
+ virtual intptr_t recursiveCount () override { return 0 ; }
786
784
787
- virtual intptr_t recursiveChildOffset (intptr_t index) {
785
+ virtual intptr_t recursiveChildOffset (intptr_t index) override {
788
786
swift::crash (" Cannot get children of Objective-C objects." );
789
787
}
790
- virtual const FieldType recursiveChildMetadata ( intptr_t index,
791
- const char **outName,
792
- void (**outFreeFunc)( const char *))
793
- {
788
+
789
+ virtual const FieldType
790
+ recursiveChildMetadata ( intptr_t index, const char **outName,
791
+ void (**outFreeFunc)( const char *)) override {
794
792
swift::crash (" Cannot get children of Objective-C objects." );
795
793
}
796
794
};
0 commit comments