Objective-C migrator: some cleanup.
Expose static type of init/alloc/retain with instance type as well. Ad-hoc cases are coming next. llvm-svn: 187068
This commit is contained in:
@@ -471,6 +471,9 @@ ObjCInstanceTypeFamily Selector::getInstTypeMethodFamily(Selector sel) {
|
||||
case 'i':
|
||||
if (startsWithWord(name, "init")) return OIT_MemManage;
|
||||
break;
|
||||
case 'r':
|
||||
if (startsWithWord(name, "retain")) return OIT_MemManage;
|
||||
break;
|
||||
case 's':
|
||||
if (startsWithWord(name, "string")) return OIT_NSString;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user