xref: /aosp_15_r20/external/clang/test/Sema/nowarn-documentation-property.m (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li// RUN: %clang_cc1 -fsyntax-only -fblocks -Wno-objc-root-class -Wdocumentation -verify %s
2*67e74705SXin Li// expected-no-diagnostics
3*67e74705SXin Li// rdar://13189938
4*67e74705SXin Li
5*67e74705SXin Li@interface NSPredicate
6*67e74705SXin Li///     The full predicate to be used for drawing objects from the store.
7*67e74705SXin Li///     It is an AND of the parent's `prefixPredicate` (e.g., the selection for
8*67e74705SXin Li///     volume number) and the `filterPredicate` (selection by matching the name).
9*67e74705SXin Li///     @return `nil` if there is no search string, and no prefix.
10*67e74705SXin Li
11*67e74705SXin Li@property(readonly) NSPredicate *andPredicate;
12*67e74705SXin Li///     The predicate that matches the string to be searched for. This
13*67e74705SXin Li///     @return `nil` if there is no search string.
14*67e74705SXin Li@property(readonly) NSPredicate *filterPredicate;
15*67e74705SXin Li@end
16