Differences From Artifact [045afb68a1]:
- File
src/OFIntrospection.m
— part of check-in
[2f4e0df8be]
at
2017-10-17 00:33:37
on branch trunk
— Do not use implicit method return types
Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (user: js, size: 12778) [annotate] [blame] [check-ins using]
To Artifact [68d6f8235a]:
- File src/OFIntrospection.m — part of check-in [526feacebc] at 2017-11-11 23:27:09 on branch trunk — Small optimization for -[isEqual:] (user: js, size: 12852) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
82 83 84 85 86 87 88 89 90 91 92 93 94 95 | return [OFString stringWithFormat: @"<%@: %@ [%s]>", [self class], _name, _typeEncoding]; } - (bool)isEqual: (id)object { OFMethod *method; if (![object isKindOfClass: [OFMethod class]]) return false; method = object; if (!sel_isEqual(method->_selector, _selector)) | > > > | 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | return [OFString stringWithFormat: @"<%@: %@ [%s]>", [self class], _name, _typeEncoding]; } - (bool)isEqual: (id)object { OFMethod *method; if (object == self) return true; if (![object isKindOfClass: [OFMethod class]]) return false; method = object; if (!sel_isEqual(method->_selector, _selector)) |
︙ | ︙ | |||
317 318 319 320 321 322 323 324 325 326 327 328 329 330 | [self class], _name, _attributes, _getter, _setter]; } - (bool)isEqual: (id)object { OFProperty *otherProperty; if ([object isKindOfClass: [OFProperty class]]) return false; otherProperty = object; if (![otherProperty->_name isEqual: _name]) | > > > | 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 | [self class], _name, _attributes, _getter, _setter]; } - (bool)isEqual: (id)object { OFProperty *otherProperty; if (object == self) return true; if ([object isKindOfClass: [OFProperty class]]) return false; otherProperty = object; if (![otherProperty->_name isEqual: _name]) |
︙ | ︙ |