summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/objc.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-30 00:03:55 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-30 00:03:55 +0000
commitbd927670146d568b6de99ce1bd4d0f3435ccf95c (patch)
treec563f315ba74f6eed9df2688ebbf3b483422e25d /clang/test/Index/objc.h
parent0924b33a1e763fbbc0659678c7bf7239dcd4a70a (diff)
downloadbcm5719-llvm-bd927670146d568b6de99ce1bd4d0f3435ccf95c.tar.gz
bcm5719-llvm-bd927670146d568b6de99ce1bd4d0f3435ccf95c.zip
Add support for ObjC message expressions, in the Analyzer:
-Accept an ObjC method and find all message expressions that this method may respond to. -Accept an ObjC message expression and find all methods that may respond to it. llvm-svn: 77551
Diffstat (limited to 'clang/test/Index/objc.h')
-rw-r--r--clang/test/Index/objc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/clang/test/Index/objc.h b/clang/test/Index/objc.h
new file mode 100644
index 00000000000..c671addde59
--- /dev/null
+++ b/clang/test/Index/objc.h
@@ -0,0 +1,11 @@
+@interface Base {
+ int my_var;
+}
+-(int) my_var;
+-(void) my_method: (int)param;
++(void) my_method: (int)param;
+@end
+
+@interface Sub : Base
+-(void) my_method: (int)param;
+@end
OpenPOWER on IntegriCloud