Revert "ObjectiveC migrator. Migrate to instancetype return type for mehods with certain prefix selector matching their class names' suffix."
This reverts commit r187626. It is breaking the bots. llvm-svn: 187634
This commit is contained in:
@@ -474,6 +474,14 @@ ObjCInstanceTypeFamily Selector::getInstTypeMethodFamily(Selector sel) {
|
||||
case 'r':
|
||||
if (startsWithWord(name, "retain")) return OIT_MemManage;
|
||||
break;
|
||||
case 's':
|
||||
if (startsWithWord(name, "string")) return OIT_NSString;
|
||||
else
|
||||
if (startsWithWord(name, "set")) return OIT_NSSet;
|
||||
break;
|
||||
case 'U':
|
||||
if (startsWithWord(name, "URL")) return OIT_NSURL;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user