ahatanak added a comment.
It looks like this patch causes an assertion to fail (`Assertion failed: (it !=
LocalDeclMap.end() && "Invalid argument to GetAddrOfLocalVar(), no decl!")`)
when the following code is compiled.
__attribute__((objc_direct_members))
@interface C
@property id prop;
-(void)m0;
@end
@implementation C
-(void)m0 {
}
@end
Do we need to synthesize `_cmd` in `generateObjCGetterBody` and
`generateObjCSetterBody` if the property is direct too?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131424/new/
https://reviews.llvm.org/D131424
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits