When we encounter an Objective-C class name in an expression, followed
commite6685c54d7b3209a48d1d1606e472d50750f0835
authorDouglas Gregor <doug.gregor@gmail.com>
Tue, 15 Feb 2011 19:17:31 +0000 (15 19:17 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Tue, 15 Feb 2011 19:17:31 +0000 (15 19:17 +0000)
treebcf816eecfd42d4bf1a382899d75ed786540902b
parent19987eb1dae303f26d2ec48d68f29f9e150a30e9
When we encounter an Objective-C class name in an expression, followed
by the code completion token, treat this as a class message send where
the opening square bracket is missing. Fixes <rdar://problem/6970911>.

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