]> granicus.if.org Git - clang/commit
When we have two identifiers in a row in Objective-C, make sure to
authorDouglas Gregor <dgregor@apple.com>
Tue, 28 Sep 2010 17:48:56 +0000 (17:48 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 28 Sep 2010 17:48:56 +0000 (17:48 +0000)
commit857736454fabeb828e399dce094bbb3aad64fba2
treeb4eeb626d6d990e6cc0595105119eacf7b3d7744
parentb3358724d985dc08889f7905f20284718361e885
When we have two identifiers in a row in Objective-C, make sure to
verify that we aren't in a message-send expression before digging into
the identifier or looking ahead more tokens. Fixes a regression
(<rdar://problem/8483253>) I introduced with bracket insertion.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114968 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseExpr.cpp
test/SemaObjCXX/message.mm