Objective-C migrator: some cleanup.
Expose static type of init/alloc/retain with
instance type as well. Ad-hoc cases are coming
next.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187068 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Basic/IdentifierTable.cpp b/lib/Basic/IdentifierTable.cpp
index fa021f0..96d9e56 100644
--- a/lib/Basic/IdentifierTable.cpp
+++ b/lib/Basic/IdentifierTable.cpp
@@ -471,6 +471,9 @@
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