]> granicus.if.org Git - clang/commit
Introduce code completion results for Objective-C methods, both when
authorDouglas Gregor <dgregor@apple.com>
Mon, 18 Oct 2010 21:05:04 +0000 (21:05 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 18 Oct 2010 21:05:04 +0000 (21:05 +0000)
commitc7b7b7a8eda7a5316ad1062b7f81a339f5550bca
tree0096df28153184277a415c3f42fa22e78193e2e4
parent4eb9fc0449ddbd5239ddc3ae6b6e52880f47dcf7
Introduce code completion results for Objective-C methods, both when
declaring methods and when sending messages to them, by bringing all
of the selector into TypedCheck chunks in the completion result. This
way, we can improve the sorting of these results to account for the
full selector name rather than just the first chunk.

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