Teach code completion to cope with block types written without a
commitc161727e05a202d3c4c867320f3baa93ff28d8c9
authorDouglas Gregor <doug.gregor@gmail.com>
Tue, 15 Feb 2011 22:37:09 +0000 (15 22:37 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Tue, 15 Feb 2011 22:37:09 +0000 (15 22:37 +0000)
treeabf8f420cc52c1f1f1cc4c0f3572f77c79508299
parentc2d8264f88abf9848eb9e4e9e511431080c318d7
Teach code completion to cope with block types written without a
prototype, e.g., ^() rather than ^(void). Fixes
<rdar://problem/8875712>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125608 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCodeComplete.cpp
test/Index/complete-blocks.m