]> granicus.if.org Git - clang/commit
When providing code completions for an argument in an Objective-C
authorDouglas Gregor <dgregor@apple.com>
Tue, 21 Sep 2010 00:03:25 +0000 (00:03 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 21 Sep 2010 00:03:25 +0000 (00:03 +0000)
commitb9d775734b02e5369bdfa78fa3e479c7281a9761
treec833209a7db32576087cfc9c31865052e88d0ad0
parentaa3b57ee9e36a805371e2a543383225cdd2a5d83
When providing code completions for an argument in an Objective-C
message send, e.g.,

  [[NSString alloc] initWithCString:<CC>

look up all of the possible methods and determine the preferred type
for the argument expression based on the type of the corresponding
parameter.

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