diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-09-15 23:19:31 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-09-15 23:19:31 +0000 |
commit | 77328d1bb92c2c46bc3e4badc4b4b97c517903b7 (patch) | |
tree | 1179630096ff97f14009b3be5b68b03337fcf2ec /test/FixIt | |
parent | 58277b57f9492d0234748be89bcad48b322c5cf7 (diff) | |
download | clang-77328d1bb92c2c46bc3e4badc4b4b97c517903b7.tar.gz |
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
Diffstat (limited to 'test/FixIt')
-rw-r--r-- | test/FixIt/fixit-objc-message.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/FixIt/fixit-objc-message.m b/test/FixIt/fixit-objc-message.m index 72728d20ad..1969faab3b 100644 --- a/test/FixIt/fixit-objc-message.m +++ b/test/FixIt/fixit-objc-message.m @@ -21,6 +21,7 @@ void f(A *a, int i, int j) { int array[17]; (void)array[a method1:5+2 second:+(3.14159)]]; + (A method2:5+2 second:3.14159]) } @interface B : A |