diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2009-03-19 18:15:34 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-03-19 18:15:34 +0000 |
| commit | d302bbd0c10f686d1a2946f6a2494e0887b4e178 (patch) | |
| tree | 86963c668932dcf9f8038f0845813078b23febe8 /clang/test/SemaObjC/access-property-getter.m | |
| parent | 3729f240af8b0afb2ac5360f951ec9aad0ef4860 (diff) | |
| download | bcm5719-llvm-d302bbd0c10f686d1a2946f6a2494e0887b4e178.tar.gz bcm5719-llvm-d302bbd0c10f686d1a2946f6a2494e0887b4e178.zip | |
When looking for property name (or getter method) in a
dot-syntax expression after earching the list of protocols
in the qualified-id, must keep searching the protocol list
of each of the protocols in the list.
llvm-svn: 67314
Diffstat (limited to 'clang/test/SemaObjC/access-property-getter.m')
| -rw-r--r-- | clang/test/SemaObjC/access-property-getter.m | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/clang/test/SemaObjC/access-property-getter.m b/clang/test/SemaObjC/access-property-getter.m new file mode 100644 index 00000000000..903f53c25ea --- /dev/null +++ b/clang/test/SemaObjC/access-property-getter.m @@ -0,0 +1,35 @@ +// RUN: clang -verify %s + +@protocol NSObject +- (oneway void)release; +@end + +@protocol XCOutputStreams <NSObject> +@end + + +@interface XCWorkQueueCommandInvocation +{ + id <XCOutputStreams> _outputStream; +} +@end + +@interface XCWorkQueueCommandSubprocessInvocation : XCWorkQueueCommandInvocation +@end + +@interface XCWorkQueueCommandLocalSubprocessInvocation : XCWorkQueueCommandSubprocessInvocation +@end + +@interface XCWorkQueueCommandDistributedSubprocessInvocation : XCWorkQueueCommandSubprocessInvocation +@end + +@interface XCWorkQueueCommandCacheFetchInvocation : XCWorkQueueCommandSubprocessInvocation + +@end + +@implementation XCWorkQueueCommandCacheFetchInvocation +- (id)harvestPredictivelyProcessedOutputFiles +{ + _outputStream.release; +} +@end |

