]> granicus.if.org Git - clang/commit
[CodeCompletion] Show block invocation results for block property setters
authorAlex Lorenz <arphaman@gmail.com>
Wed, 9 Nov 2016 13:43:18 +0000 (13:43 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Wed, 9 Nov 2016 13:43:18 +0000 (13:43 +0000)
commit6f52d154abfa77cfb845eca61452b2b53d4c3ce9
tree01948aea2deb0bf798cd1f59700ccb69c13a278e
parent2199e7da52ada03fa646b544fd6f23a18ed7bd9b
[CodeCompletion] Show block invocation results for block property setters

This commit changes the code completion results for block property setters:
The default block property result is now a block invocation rather than a simple
property reference.

rdar://28846196

Differential Revision: https://reviews.llvm.org/D26071

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286363 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCodeComplete.cpp
test/Index/complete-block-properties.m [new file with mode: 0644]
test/Index/complete-block-property-assignment.m