]> granicus.if.org Git - clang/commit
If an instance method messages is sending to an expression of type Class,
authorDouglas Gregor <dgregor@apple.com>
Mon, 8 Nov 2010 21:12:30 +0000 (21:12 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 8 Nov 2010 21:12:30 +0000 (21:12 +0000)
commitda892649f9a0b6dd92eecb97c7959dc3f968241f
treea5afb331fee2f46003141a65581a8eba5e8391cd
parent4820908be98f340a4c2a563a622ae693a7219c50
If an instance method messages is sending to an expression of type Class,
and we statically can compute a bound on the actual type (e.g.,
because it's a send to the the magic "class" instance method), code
complete as if we were performing a class message send to that class.

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