Fariborz Jahanian | 81bbee1 | 2013-02-27 00:46:06 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-objc-root-class -Wdocumentation -verify %s |
| 2 | // expected-no-diagnostics |
| 3 | // rdar://13189938 |
| 4 | |
| 5 | @interface NSPredicate |
| 6 | /// The full predicate to be used for drawing objects from the store. |
| 7 | /// It is an AND of the parent's `prefixPredicate` (e.g., the selection for |
| 8 | /// volume number) and the `filterPredicate` (selection by matching the name). |
| 9 | /// @return `nil` if there is no search string, and no prefix. |
| 10 | |
| 11 | @property(readonly) NSPredicate *andPredicate; |
| 12 | /// The predicate that matches the string to be searched for. This |
| 13 | /// @return `nil` if there is no search string. |
| 14 | @property(readonly) NSPredicate *filterPredicate; |
| 15 | @end |