This is an archive of the discontinued LLVM Phabricator instance.

[CodeCompletion] Show block invocation result for block property setters
ClosedPublic

Authored by arphaman on Oct 28 2016, 6:03 AM.

Details

Summary

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>

Diff Detail

Repository
rL LLVM

Event Timeline

arphaman updated this revision to Diff 76178.Oct 28 2016, 6:03 AM
arphaman retitled this revision from to [CodeCompletion] Show block invocation result for block property setters.
arphaman updated this object.
arphaman added reviewers: manmanren, akyrtzi.
arphaman set the repository for this revision to rL LLVM.
arphaman added a subscriber: cfe-commits.
manmanren accepted this revision.Nov 8 2016, 4:38 PM
manmanren edited edge metadata.

LGTM.

Manman

This revision is now accepted and ready to land.Nov 8 2016, 4:38 PM
This revision was automatically updated to reflect the committed changes.