Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -verify %s |
Fariborz Jahanian | 2ce1be0 | 2009-03-19 18:15:34 +0000 | [diff] [blame] | 2 | |
| 3 | @protocol NSObject |
| 4 | - (oneway void)release; |
| 5 | @end |
| 6 | |
| 7 | @protocol XCOutputStreams <NSObject> |
| 8 | @end |
| 9 | |
| 10 | |
| 11 | @interface XCWorkQueueCommandInvocation |
| 12 | { |
| 13 | id <XCOutputStreams> _outputStream; |
| 14 | } |
| 15 | @end |
| 16 | |
| 17 | @interface XCWorkQueueCommandSubprocessInvocation : XCWorkQueueCommandInvocation |
| 18 | @end |
| 19 | |
| 20 | @interface XCWorkQueueCommandLocalSubprocessInvocation : XCWorkQueueCommandSubprocessInvocation |
| 21 | @end |
| 22 | |
| 23 | @interface XCWorkQueueCommandDistributedSubprocessInvocation : XCWorkQueueCommandSubprocessInvocation |
| 24 | @end |
| 25 | |
| 26 | @interface XCWorkQueueCommandCacheFetchInvocation : XCWorkQueueCommandSubprocessInvocation |
| 27 | |
| 28 | @end |
| 29 | |
| 30 | @implementation XCWorkQueueCommandCacheFetchInvocation |
| 31 | - (id)harvestPredictivelyProcessedOutputFiles |
| 32 | { |
| 33 | _outputStream.release; |
Mike Stump | d1969d8 | 2009-07-22 00:43:08 +0000 | [diff] [blame] | 34 | return 0; |
Fariborz Jahanian | 2ce1be0 | 2009-03-19 18:15:34 +0000 | [diff] [blame] | 35 | } |
| 36 | @end |