2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -verify %s
|
2009-03-20 02:15:34 +08:00
|
|
|
|
|
|
|
@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
|
|
|
|
{
|
2010-10-12 05:29:12 +08:00
|
|
|
_outputStream.release; // expected-warning {{property access result unused - getters should not be used for side effects}}
|
2009-07-22 08:43:08 +08:00
|
|
|
return 0;
|
2009-03-20 02:15:34 +08:00
|
|
|
}
|
|
|
|
@end
|