]> granicus.if.org Git - clang/commit
Don't add two code-completion results for the same selector; it
authorDouglas Gregor <dgregor@apple.com>
Thu, 16 Sep 2010 16:06:31 +0000 (16:06 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 16 Sep 2010 16:06:31 +0000 (16:06 +0000)
commitd36adf553cd71df96fe869204482e0f0d68c6bbf
treedd11af49b689ea084231c1c153b9810caecbd2c5
parente396c7bd99ed99fd8136fadc8945791754c61b16
Don't add two code-completion results for the same selector; it
doesn't add any value. Instead, we'll just take the first method with
that selector that we find and create a completion for it.

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