diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2013-09-18 20:35:47 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-09-18 20:35:47 +0000 |
commit | a346eb1188419d3f1698092edfbd66890b74163c (patch) | |
tree | c14850c57afb4fbf457aa7fd8e72eb4f990a8ad9 /include/clang/Basic/IdentifierTable.h | |
parent | d76cec5567cb5b04cb5cc48a477a0c71b910053c (diff) |
ObjectiveC migrator: For consistency, also infer
'instancetype' for known family of methods
with related result type; such as 'init'
methods. // rdar://14987948
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190956 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/IdentifierTable.h')
-rw-r--r-- | include/clang/Basic/IdentifierTable.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/Basic/IdentifierTable.h b/include/clang/Basic/IdentifierTable.h index 7681320557..01b8e1f361 100644 --- a/include/clang/Basic/IdentifierTable.h +++ b/include/clang/Basic/IdentifierTable.h @@ -586,7 +586,8 @@ enum ObjCInstanceTypeFamily { OIT_None, OIT_Array, OIT_Dictionary, - OIT_Singleton + OIT_Singleton, + OIT_Init }; /// \brief Smart pointer class that efficiently represents Objective-C method |