[PATCH] D27257: [CodeCompletion] Ensure that ObjC root class completes instance methods from protocols and categories as well

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 30 06:57:33 PST 2016


arphaman created this revision.
arphaman added reviewers: bruno, akyrtzi.
arphaman added a subscriber: cfe-commits.
arphaman set the repository for this revision to rL LLVM.

Code completion results for class methods already include instance methods from Objective-C root classes. This patch ensures that the results also include instance methods from protocols that the root class implements and root class categories as well.


Repository:
  rL LLVM

https://reviews.llvm.org/D27257

Files:
  lib/Sema/SemaCodeComplete.cpp
  test/Index/complete-objc-message.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27257.79733.patch
Type: text/x-patch
Size: 7327 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161130/fa1f2f80/attachment.bin>


More information about the cfe-commits mailing list