diff options
| author | Douglas Gregor <dgregor@apple.com> | 2013-01-16 18:47:38 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2013-01-16 18:47:38 +0000 |
| commit | 77f49a4902fdf3b73d54796c1579988477f6927e (patch) | |
| tree | 2137c70dc976cd22489cd0aa1cd41af4d7f835ab /clang/test/Modules/Inputs | |
| parent | 0ec72bbc4ddf7a64cc709d5b05001f17a8b9fa90 (diff) | |
| download | bcm5719-llvm-77f49a4902fdf3b73d54796c1579988477f6927e.tar.gz bcm5719-llvm-77f49a4902fdf3b73d54796c1579988477f6927e.zip | |
Teach global selector lookup to ignore hidden methods, which occur
when the methods are declared in a submodule that has not yet been
imported. Part of <rdar://problem/10634711>.
llvm-svn: 172635
Diffstat (limited to 'clang/test/Modules/Inputs')
| -rw-r--r-- | clang/test/Modules/Inputs/MethodPoolASub.h | 3 | ||||
| -rw-r--r-- | clang/test/Modules/Inputs/MethodPoolBSub.h | 3 | ||||
| -rw-r--r-- | clang/test/Modules/Inputs/module.map | 8 |
3 files changed, 14 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/MethodPoolASub.h b/clang/test/Modules/Inputs/MethodPoolASub.h new file mode 100644 index 00000000000..e0bd238567b --- /dev/null +++ b/clang/test/Modules/Inputs/MethodPoolASub.h @@ -0,0 +1,3 @@ +@interface A (Sub) +- (char)method3; +@end diff --git a/clang/test/Modules/Inputs/MethodPoolBSub.h b/clang/test/Modules/Inputs/MethodPoolBSub.h new file mode 100644 index 00000000000..3404ce91fa6 --- /dev/null +++ b/clang/test/Modules/Inputs/MethodPoolBSub.h @@ -0,0 +1,3 @@ +@interface B (Sub) +- (char *)method3; +@end diff --git a/clang/test/Modules/Inputs/module.map b/clang/test/Modules/Inputs/module.map index 702f5c11cd5..42c6c2b5d94 100644 --- a/clang/test/Modules/Inputs/module.map +++ b/clang/test/Modules/Inputs/module.map @@ -107,9 +107,17 @@ module templates_right { } module MethodPoolA { header "MethodPoolA.h" + + explicit module Sub { + header "MethodPoolASub.h" + } } module MethodPoolB { header "MethodPoolB.h" + + explicit module Sub { + header "MethodPoolBSub.h" + } } module import_decl { header "import-decl.h" |

