summaryrefslogtreecommitdiffstats
path: root/clang/test/FixIt/fixit-objc-message.m
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-09-15 14:54:45 +0000
committerDouglas Gregor <dgregor@apple.com>2010-09-15 14:54:45 +0000
commitd6d980044ec659be09eb24850cb233d470f86326 (patch)
treee89c7e5651f20a2e31af365924fe05a78086de0f /clang/test/FixIt/fixit-objc-message.m
parente9bba4f1a44162eb6c02f96ebbd088333e5a45d5 (diff)
downloadbcm5719-llvm-d6d980044ec659be09eb24850cb233d470f86326.tar.gz
bcm5719-llvm-d6d980044ec659be09eb24850cb233d470f86326.zip
Extend bracket insertion to handle nullary selectors, e.g.
a getFoo] llvm-svn: 113969
Diffstat (limited to 'clang/test/FixIt/fixit-objc-message.m')
-rw-r--r--clang/test/FixIt/fixit-objc-message.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/FixIt/fixit-objc-message.m b/clang/test/FixIt/fixit-objc-message.m
index 0eaa7f05471..f19b489f997 100644
--- a/clang/test/FixIt/fixit-objc-message.m
+++ b/clang/test/FixIt/fixit-objc-message.m
@@ -11,9 +11,11 @@
@interface A
- (int)method1:(int)x second:(float)y;
+ (int)method2:(int)x second:(double)y;
+- (int)getBlah;
@end
void f(A *a, int i, int j) {
a method1:5+2 second:+(3.14159)];
a method1:[a method1:3 second:j] second:i++]
+ a getBlah];
}
OpenPOWER on IntegriCloud