]> granicus.if.org Git - clang/commit
ObjectiveC migrator: In suggesting 'instancetype' use clang's
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 28 Aug 2013 21:23:00 +0000 (21:23 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 28 Aug 2013 21:23:00 +0000 (21:23 +0000)
commit3c6e5ce3776eaddaf4bcdf5da6c00ec4e6829d83
tree984e92a2484b7528c7832860f24c41e0474d5f15
parentf332733e141905ccefe43e7fe65f9a8a4263a2f6
ObjectiveC migrator: In suggesting 'instancetype' use clang's
hasRelatedResultType() as it knows of methods which have
related result type by default. Such methods do not need
a redundant 'instancetype'.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189520 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ARCMigrate/ObjCMT.cpp
test/ARCMT/objcmt-arc-cf-annotations.m.result
test/ARCMT/objcmt-instancetype-2.m.result
test/ARCMT/objcmt-instancetype.m.result