From a346eb1188419d3f1698092edfbd66890b74163c Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Wed, 18 Sep 2013 20:35:47 +0000 Subject: 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 --- include/clang/Basic/IdentifierTable.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/clang/Basic/IdentifierTable.h') 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 -- cgit v1.2.3