diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2013-07-24 19:18:37 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-07-24 19:18:37 +0000 |
commit | 267bae3ad68aa2c1e8f2e1138efc17a4ad54a601 (patch) | |
tree | 9b6da80f9e7234ce20e40b1b913fdb0a300cf78d /clang/lib/Basic/IdentifierTable.cpp | |
parent | a9df759af6170dff3f1c1a48d51620a03bed8459 (diff) | |
download | llvm-267bae3ad68aa2c1e8f2e1138efc17a4ad54a601.tar.gz |
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
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
-rw-r--r-- | clang/lib/Basic/IdentifierTable.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Basic/IdentifierTable.cpp b/clang/lib/Basic/IdentifierTable.cpp index fa021f0501e6..96d9e56b6c3a 100644 --- a/clang/lib/Basic/IdentifierTable.cpp +++ b/clang/lib/Basic/IdentifierTable.cpp @@ -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 |