summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/lookup_right.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-08-25 14:51:20 +0000
committerDouglas Gregor <dgregor@apple.com>2011-08-25 14:51:20 +0000
commitc10edd6dd0bfe98dfb1007630a960fa376bc5514 (patch)
tree9a8e51da435ea0ad68212ca08cd2c93fda21f440 /clang/test/Modules/Inputs/lookup_right.h
parentc532f129652c4e4825e19b55645d57a787ecab78 (diff)
downloadbcm5719-llvm-c10edd6dd0bfe98dfb1007630a960fa376bc5514.tar.gz
bcm5719-llvm-c10edd6dd0bfe98dfb1007630a960fa376bc5514.zip
Use the module manager's search facility to look for methods with a
given selector, rather than walking the chain backwards. Teach its visitor how to merge multiple result sets into a single result set, combining the results of selector lookup in several different modules into a single result set. llvm-svn: 138556
Diffstat (limited to 'clang/test/Modules/Inputs/lookup_right.h')
-rw-r--r--clang/test/Modules/Inputs/lookup_right.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/lookup_right.h b/clang/test/Modules/Inputs/lookup_right.h
new file mode 100644
index 00000000000..f8f0c97d681
--- /dev/null
+++ b/clang/test/Modules/Inputs/lookup_right.h
@@ -0,0 +1,5 @@
+
+@interface B
+- (double)method;
+@end
+
OpenPOWER on IntegriCloud