]> granicus.if.org Git - clang/commit
When determining the "usage" type of a declaration for the purposes of code
authorDouglas Gregor <dgregor@apple.com>
Thu, 14 Apr 2011 20:33:34 +0000 (20:33 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 14 Apr 2011 20:33:34 +0000 (20:33 +0000)
commit3e64d56185f0bf7dbd536c1b3ecbc853c22a9184
tree5073ecdb1543053b3a53481f97da83b00e6dff19
parent414d8967e1d760ea1e19a4aca96b13777a8cf8c5
When determining the "usage" type of a declaration for the purposes of code
completion, look through block pointer and function pointer types to the
result type of the block/function. Fixes <rdar://problem/9282583>.

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