HomePhabricator

[CodeGen][ObjC] Convert '[self alloc]' in a class method to a call to

Description

[CodeGen][ObjC] Convert '[self alloc]' in a class method to a call to
'objc_alloc(self)'

Also convert '[[self alloc] init]' in a class method to a call to
'objc_alloc_init(self)'.

rdar://problem/50855121

Differential Revision: https://reviews.llvm.org/D62643

Details

Committed
ahatanakJun 4 2019, 9:29 AM
Differential Revision
D62643: [CodeGen][ObjC] Convert '[self alloc]' in a class method to 'objc_alloc(self)'
Branches
Unknown
Tags
Unknown