]> granicus.if.org Git - clang/commit
Handle bracket insertion for Objective-C class messages in a very
authorDouglas Gregor <dgregor@apple.com>
Wed, 15 Sep 2010 23:19:31 +0000 (23:19 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 15 Sep 2010 23:19:31 +0000 (23:19 +0000)
commit77328d1bb92c2c46bc3e4badc4b4b97c517903b7
tree1179630096ff97f14009b3be5b68b03337fcf2ec
parent58277b57f9492d0234748be89bcad48b322c5cf7
Handle bracket insertion for Objective-C class messages in a very
narrow, almost useless case where we're inside a parenthesized
expression, e.g.,

  (NSArray alloc])

The solution to the general case still eludes me.

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