]> granicus.if.org Git - clang/commit
When completing Objective-C instance method invocations, perform a contextual convers...
authorAnders Carlsson <andersca@mac.com>
Fri, 28 Feb 2014 19:07:22 +0000 (19:07 +0000)
committerAnders Carlsson <andersca@mac.com>
Fri, 28 Feb 2014 19:07:22 +0000 (19:07 +0000)
commitb7947f06d2e1303cb72a83aed6dc85e4691ce849
tree305f267e78b1a38a8f4136cf7c0c410af7632a05
parent044b71a30fa873952931341159c3773f23937868
When completing Objective-C instance method invocations, perform a contextual conversion to an Objective-C pointer type of the target expression if needed. This fixes code completion of method invocations where the target is a smart pointer that has an explicit conversion operator to an Objective-C type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202529 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCodeComplete.cpp
test/CodeCompletion/objc-message.mm [new file with mode: 0644]