[PATCH] D26071: [CodeCompletion] Show block invocation result for block property setters
Alex Lorenz via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 28 06:03:58 PDT 2016
arphaman created this revision.
arphaman added reviewers: manmanren, akyrtzi.
arphaman added a subscriber: cfe-commits.
arphaman set the repository for this revision to rL LLVM.
This patch changes the code completion results for block property setters. Right now we code complete block property setters with a property and a setter (for readwrite properties). So, for: `object.<COMPLETION>` clang displays:
object.block
object.block = <placeholder>
But this patch makes the default block property result an invocation rather than a property, so now clang will display:
object.block(<argument placeholders>)
object.block = <placeholder>
Repository:
rL LLVM
https://reviews.llvm.org/D26071
Files:
lib/Sema/SemaCodeComplete.cpp
test/Index/complete-block-properties.m
test/Index/complete-block-property-assignment.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26071.76178.patch
Type: text/x-patch
Size: 10497 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161028/7b91c13a/attachment-0001.bin>
More information about the cfe-commits
mailing list