23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
@end
@implementation RuntimeARCTest
- (instancetype)init
{
self = [super init];
#if defined(OF_WINDOWS) && defined(OF_X86_64)
/*
* Clang has a bug on Windows where it creates an invalid call into
* objc_retainAutoreleasedReturnValue(). Work around it by not using an
* autoreleased exception.
*/
@throw [[OFException alloc] init];
#else
|
|
|
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
@end
@implementation RuntimeARCTest
- (instancetype)init
{
self = [super init];
#if defined(OF_WINDOWS) && defined(OF_AMD64)
/*
* Clang has a bug on Windows where it creates an invalid call into
* objc_retainAutoreleasedReturnValue(). Work around it by not using an
* autoreleased exception.
*/
@throw [[OFException alloc] init];
#else
|