[PATCH] D71091: Make sure that the implicit arguments for direct methods have been setup
Liu Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 9 11:39:14 PST 2019
liuliu added a comment.
We don't use PCH :) I arc patched the latest diff, still have that crash. More strangely, I tried this latest diff on previously simplistic test case and it crashes now:
#import <Foundation/Foundation.h>
@interface SCTestMainEntity : NSObject
@property (nonatomic, readonly, direct) int date;
- (instancetype)initWithDate:(int)date;
@end
int main(void)
{
SCTestMainEntity *entity = [[SCTestMainEntity alloc] initWithDate:10];
printf("%d\n", entity.date);
return 0;
}
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71091/new/
https://reviews.llvm.org/D71091
More information about the cfe-commits
mailing list