[PATCH] D36790: [ObjC] Messages to 'self' in class methods that return 'instancetype' should use the pointer to the class as the result type of the message

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 15 14:16:04 PST 2017


arphaman updated this revision to Diff 127192.
arphaman marked an inline comment as done.
arphaman added a comment.

- Remove redundant checks.
- Remove the ARC-specific check.


https://reviews.llvm.org/D36790

Files:
  include/clang/Sema/Sema.h
  lib/Sema/SemaExprObjC.cpp
  test/SemaObjC/multiple-method-names-in-class-self.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36790.127192.patch
Type: text/x-patch
Size: 8124 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171215/335edd0f/attachment.bin>


More information about the cfe-commits mailing list