Differences From Artifact [cd2923612d]:
- File
src/OFIntrospection.m
— part of check-in
[e47c219327]
at
2017-10-01 14:05:29
on branch trunk
— Disable -Wnullable-to-nonnull-conversion again
It does not work well enough yet: While creating a lot of noise, it
fails to even find many of the obvious cases. Depending on the static
analyzer seems to be the better approach for now. (user: js, size: 12693) [annotate] [blame] [check-ins using]
To Artifact [952618548a]:
- File src/OFIntrospection.m — part of check-in [6b6856298d] at 2017-10-01 18:09:11 on branch trunk — OFTarArchive: Support for star numbers (user: js, size: 12708) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
367 368 369 370 371 372 373 | #if defined(OF_OBJFW_RUNTIME) - (instancetype)of_initWithIvar: (struct objc_ivar *)ivar { self = [super init]; @try { | > | > > | | | 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 | #if defined(OF_OBJFW_RUNTIME) - (instancetype)of_initWithIvar: (struct objc_ivar *)ivar { self = [super init]; @try { if (ivar->name != NULL) _name = [[OFString alloc] initWithUTF8String: ivar->name]; _typeEncoding = ivar->type; _offset = ivar->offset; } @catch (id e) { [self release]; @throw e; } return self; } #elif defined(OF_APPLE_RUNTIME) - (instancetype)of_initWithIvar: (Ivar)ivar { self = [super init]; @try { const char *name = ivar_getName(ivar); if (name != NULL) _name = [[OFString alloc] initWithUTF8String: name]; _typeEncoding = ivar_getTypeEncoding(ivar); _offset = ivar_getOffset(ivar); } @catch (id e) { [self release]; @throw e; } |
︙ | ︙ |