Home
last modified time | relevance | path

Searched refs:declared (Results 1 – 25 of 617) sorted by relevance

12345678910>>...25

/external/clang/test/SemaOpenCL/
Dinvalid-kernel-parameters.cl16 typedef struct ContainsBool // expected-note{{within field of type 'ContainsBool' declared here}}
18 bool x; // expected-note{{field of illegal type 'bool' declared here}}
25 typedef struct FooImage2D // expected-note{{within field of type 'FooImage2D' declared here}}
27 image2d_t imageField; // expected-note{{field of illegal type 'image2d_t' declared here}}
32 typedef struct Foo // expected-note{{within field of type 'Foo' declared here}}
34 int* ptrField; // expected-note{{field of illegal pointer type 'int *' declared here}}
39 typedef union FooUnion // expected-note{{within field of type 'FooUnion' declared here}}
41 int* ptrField; // expected-note{{field of illegal pointer type 'int *' declared here}}
46 typedef struct NestedPointer // expected-note 2 {{within field of type 'NestedPointer' declared her…
51 int* ptrField; // expected-note 3 {{field of illegal pointer type 'int *' declared here}}
[all …]
Dstorageclass.cl10 …static int S1 = 5; // expected-error{{variables in function scope cannot be declared stat…
11 …static constant int S2 = 5; // expected-error{{variables in function scope cannot be declared stat…
19 static void kernel bar() { // expected-error{{kernel functions cannot be declared static}}
23 …constant int L1 = 0; // expected-error{{non-kernel function variable cannot be declared in constan…
24 …local int L2; // expected-error{{non-kernel function variable cannot be declared in local a…
26 …constant int L1 = 0; // expected-error{{non-kernel function variable cannot be declared in constan…
27 …local int L2; // expected-error{{non-kernel function variable cannot be declared in local a…
/external/clang/test/SemaObjC/
Dundef-protocol-methods-1.m4 - (void) P1proto; // expected-note {{method 'P1proto' declared here}}
5 + (void) ClsP1Proto; // expected-note {{method 'ClsP1Proto' declared here}}
9 - (void) P2proto; // expected-note {{method 'P2proto' declared here}}
10 + (void) ClsP2Proto; // expected-note {{method 'ClsP2Proto' declared here}}
14 - (void) P3proto; // expected-note {{method 'P3proto' declared here}}
15 + (void) ClsP3Proto; // expected-note {{method 'ClsP3Proto' declared here}}
20 - (void) meth; // expected-note {{method 'meth' declared here}}
21 - (void) meth : (int) arg1; // expected-note {{method 'meth:' declared here}}
22 + (void) cls_meth : (int) arg1; // expected-note {{method 'cls_meth:' declared here}}
Dcircular-container.m46 NSMutableArray *_array; // expected-note {{'_array' declared here}}
47 NSMutableDictionary *_dictionary; // expected-note {{'_dictionary' declared here}}
48 NSMutableSet *_set; // expected-note {{'_set' declared here}}
49 NSCountedSet *_countedSet; // expected-note {{'_countedSet' declared here}}
50 NSMutableOrderedSet *_orderedSet; // expected-note {{'_orderedSet' declared here}}
64 - (void)checkNSMutableArray:(NSMutableArray *)a { // expected-note {{'a' declared here}}
68 - (void)checkNSMutableDictionary:(NSMutableDictionary *)d { // expected-note {{'d' declared here}}
72 - (void)checkNSMutableSet:(NSMutableSet *)s { // expected-note {{'s' declared here}}
76 - (void)checkNSCountedSet:(NSCountedSet *)s { // expected-note {{'s' declared here}}
80 - (void)checkNSMutableOrderedSet:(NSMutableOrderedSet *)s { // expected-note {{'s' declared here}}
[all …]
Ddefault-synthesize-3.m7 …ected-note 2 {{class with specified objc_requires_property_definitions attribute is declared here}}
8 @property int NoAutoProp; // expected-note 2 {{property declared here}}
16 …ected-note 3 {{class with specified objc_requires_property_definitions attribute is declared here}}
17 @property (copy) id SubProperty; // expected-note 2 {{property declared here}}
27 @property (copy) id DeepMustSynthProperty; // expected-note {{property declared here}}
46 @property (readonly) char isFoo; // expected-note {{property declared here}}
47 @property (readonly) char isNotFree; // expected-note {{property declared here}}
93 @property (readonly) id prop; // expected-note {{property declared here}}
94 @property (readonly) id prop1; // expected-note {{property declared here}}
95 @property (readonly) id prop2; // expected-note {{property declared here}}
[all …]
Divar-lookup.m60 int IVAR; // expected-error {{instance variable is already declared}}
67 int IVAR; // expected-error {{instance variable is already declared}}
73 int IVAR; // expected-error {{instance variable is already declared}}
74 int PIVAR; // expected-error {{instance variable is already declared}}
80 int IVAR; // expected-error {{instance variable is already declared}}
146 // expected-error {{instance variable is already declared}}
151 int d; // expected-error {{instance variable is already declared}}
152 NSString *e_strong; // expected-error {{instance variable is already declared}}
153 NSData *f_weak; // expected-error {{instance variable is already declared}}
154 NSData *g; // expected-error 2 {{instance variable is already declared}}
Darc-property-decl-attrs.m40 …nretained id x; // expected-error {{strong property 'x' may not also be declared __unsafe_unretain…
41 @property(strong) __weak id y; // expected-error {{strong property 'y' may not also be declared __w…
42 …oreleasing id z; // expected-error {{strong property 'z' may not also be declared __autoreleasing}}
46 …nretained id x; // expected-error {{strong property 'x' may not also be declared __unsafe_unretain…
47 @property(retain) __weak id y; // expected-error {{strong property 'y' may not also be declared __w…
48 …oreleasing id z; // expected-error {{strong property 'z' may not also be declared __autoreleasing}}
52 …nretained id x; // expected-error {{strong property 'x' may not also be declared __unsafe_unretain…
53 @property(copy) __weak id y; // expected-error {{strong property 'y' may not also be declared __wea…
54 …oreleasing id z; // expected-error {{strong property 'z' may not also be declared __autoreleasing}}
59 …) __weak id y; // expected-error {{unsafe_unretained property 'y' may not also be declared __weak}}
[all …]
Dproperty-category-4.m10 @property (readwrite, retain) id selectedObjects; // expected-note {{property declared here}}
11 @property (readwrite, retain) id d_selectedObjects; // expected-note {{property declared here}}
15 @synthesize selectedObjects = _selectedObjects; // expected-error {{property declared in category '…
16 @dynamic d_selectedObjects; // expected-error {{property declared in category 'CAT' cannot be imple…
98 @property (readonly) int p; // no warning for this property - a getter is declared in another cate…
99 @property (readonly) int p1; // expected-note {{property declared here}}
100 @property (readonly) int p2; // no warning for this property - a getter is declared in this catego…
109 @property (readonly) float anotherFloat; // expected-note {{property declared here}}
110 @property (readonly) float Float; // no warning for this property - a getter is declared in this p…
Darc-property-lifetime.m10 @property(strong) id x; // expected-note {{property declared here}}
11 @property(strong) id y; // expected-note {{property declared here}}
27 @property(retain) id x; // expected-note {{property declared here}}
28 @property(retain) id y; // expected-note {{property declared here}}
44 @property(copy) id x; // expected-note {{property declared here}}
45 @property(copy) id y; // expected-note {{property declared here}}
56 …nretained id x; // expected-error {{strong property 'x' may not also be declared __unsafe_unretain…
57 …oreleasing id z; // expected-error {{strong property 'z' may not also be declared __autoreleasing}}
61 …nretained id x; // expected-error {{strong property 'x' may not also be declared __unsafe_unretain…
62 …oreleasing id z; // expected-error {{strong property 'z' may not also be declared __autoreleasing}}
[all …]
Dmethod-undefined-warn-1.m6 - (int) int_meth; // expected-note {{method 'int_meth' declared here}}
7 + (int) cls_meth; // expected-note {{method 'cls_meth' declared here}}
8 + (void) cls_meth1 : (int) arg1; // expected-note {{method 'cls_meth1:' declared here}}
22 - (int) int_meth; // expected-note {{method 'int_meth' declared here}}
23 + (int) cls_meth; // expected-note {{method 'cls_meth' declared here}}
24 + (void) cls_meth1 : (int) arg1; // expected-note {{method 'cls_meth1:' declared here}}
Dproperty-inherited.m4 // rdar://6497242 Inherited overridden protocol declared objects don't work
24 @property(nonatomic, assign) id<BarDelegate> delegate2; // expected-note {{property declared here}}
39 @property(assign) NSMutableData *p_data; // expected-note {{property declared here}}
54 @property (nonatomic) void* selected; // expected-note {{property declared here}}
58 @property (nonatomic) void* selected; // expected-note {{property declared here}}
63 @property (nonatomic) void* selected1; // expected-note {{property declared here}}
Dobjc-container-subscripting.m7 …tAtIndexedSubscript:(double)index; // expected-note {{parameter of type 'double' is declared here}}
8 …tIndexedSubscript:(void *)index; // expected-note {{parameter of type 'void *' is declared here}} \
9 // expected-note {{parameter of type 'id *' is declared here}}
29 - (id)objectForKeyedSubscript:(id*)key; // expected-note {{parameter of type 'id *' is declared her…
30 …ject forKeyedSubscript:(id*)key; // expected-note {{parameter of type 'void *' is declared here}} \
31 … // expected-note {{parameter of type 'id *' is declared here}}
Dparameterized_classes.m11 @protocol NSObject // expected-note{{'NSObject' declared here}}
14 @protocol NSCopying // expected-note{{'NSCopying' declared here}}
29 @interface PC1<T, U : NSObject*> : NSObject // expected-note{{'PC1' declared here}}
30 // expected-note@-1{{type parameter 'T' declared here}}
31 // expected-note@-2{{type parameter 'U' declared here}}
32 // expected-note@-3{{type parameter 'U' declared here}}
44 @interface PC4<T, U, V> : NSObject // expected-note 2{{'PC4' declared here}}
77 …U : NSObject *>, PC11<T : NSObject *, U : id>; // expected-note{{type parameter 'T' declared here}}
84 // declared with the same type parameters.
92 @interface PC12<T : NSObject *> : NSObject // expected-note{{type parameter 'T' declared here}}
[all …]
Dformat-cstrings-warning.m14 …bute__((format(__NSString__, 1, 2))); // expected-note 2 {{method 'initWithFormat:' declared here}}
18 …bute__((format(__NSString__, 1, 2))); // expected-note {{method 'stringWithFormat:' declared here}}
19 …ormat(__NSString__, 1, 2))); // expected-note {{method 'localizedStringWithFormat:' declared here}}
20 …__NSString__, 1, 0))); // expected-note {{method 'MyRandomMethod:locale:arguments:' declared here}}
53 …format(CFString, 3, 0))); // expected-note {{'CFStringCreateWithFormatAndArguments' declared here}}
59 …__((format(CFString, 3, 0))); // expected-note {{'CFStringAppendFormatAndArguments' declared here}}
69 …mat, ...) __attribute__((format(__NSString__, 1, 2))); // expected-note {{'MyNSLog' declared here}}
70 …te__((format(__CFString__, 1, 2))); // expected-note {{'MyCFStringCreateWithFormat' declared here}}
71 …at, ...) __attribute__((format(__NSString__, 2, 3))); // expected-note {{'XMyNSLog' declared here}}
Dunused-backing-ivar-warning.m7 @property (nonatomic, copy) id t; // expected-note {{property declared here}}
8 @property (nonatomic, copy) id u; // expected-note {{property declared here}}
9 @property (nonatomic, copy) id v; // expected-note {{property declared here}}
11 @property (nonatomic, copy) id x; // expected-note {{property declared here}}
12 @property (nonatomic, copy) id y; // expected-note {{property declared here}}
111 @property (assign) long q; // expected-note 2 {{property declared here}}
112 @property (assign, readonly) long r; // expected-note {{property declared here}}
129 @property (readonly) int p2; // expected-note {{property declared here}}
180 @property(strong, atomic, readonly) NSURL *cidURL1; // expected-note {{property declared here}}
/external/valgrind/memcheck/tests/
Dvarinfo5.stderr.exp18 declared at varinfo5so.c:38
26 declared at varinfo5so.c:40
34 a global variable declared at varinfo5so.c:42
42 a global variable declared at varinfo5so.c:44
50 declared at varinfo5so.c:49, in frame #1 of thread 1
59 declared at varinfo5so.c:69, in frame #1 of thread 1
68 declared at varinfo5so.c:72, in frame #1 of thread 1
77 declared at varinfo5so.c:67, in frame #1 of thread 1
86 a global variable declared at varinfo5so.c:87
95 a global variable declared at varinfo5so.c:88
[all …]
Dvarinfo1.stderr.exp12 declared at varinfo1.c:35
18 declared at varinfo1.c:37
24 a global variable declared at varinfo1.c:39
30 a global variable declared at varinfo1.c:41
36 declared at varinfo1.c:46, in frame #1 of thread 1
Dvarinfo3.stderr.exp6 a global variable declared at varinfo3.c:35
13 a global variable declared at varinfo3.c:36
20 a global variable declared at varinfo3.c:37
27 a global variable declared at varinfo3.c:38
42 declared at varinfo3.c:51, in frame #2 of thread 1
57 declared at varinfo3.c:53, in frame #2 of thread 1
Dvarinfo5.stderr.exp-ppc6418 declared at varinfo5so.c:38
26 declared at varinfo5so.c:40
34 a global variable declared at varinfo5so.c:42
42 a global variable declared at varinfo5so.c:44
50 declared at varinfo5so.c:49, in frame #1 of thread 1
59 declared at varinfo5so.c:69, in frame #1 of thread 1
68 declared at varinfo5so.c:72, in frame #1 of thread 1
77 declared at varinfo5so.c:67, in frame #1 of thread 1
86 a global variable declared at varinfo5so.c:87
95 a global variable declared at varinfo5so.c:88
[all …]
Dvarinfo1.stderr.exp-ppc6412 declared at varinfo1.c:35
18 declared at varinfo1.c:37
24 a global variable declared at varinfo1.c:39
30 a global variable declared at varinfo1.c:41
36 declared at varinfo1.c:46, in frame #1 of thread 1
/external/selinux/secilc/docs/
Dcil_user_statements.md43 Associates a previously declared [`user`](cil_user_statements.md#user) identifier with a previously…
63 <td align="left"><p>A previously declared SELinux <code>user</code> or <code>userattribute</code> i…
67 <td align="left"><p>A previously declared <code>role</code> or <code>roleattribute</code> identifie…
121 Allows the association of one or more previously declared [`user`](cil_user_statements.md#user) or …
141 <td align="left"><p>A single previously declared <code>userattribute</code> identifier.</p></td>
145 <td align="left"><p>Zero or more previously declared <code>user</code> or <code>userattribute</code…
146 …t there must be at least one <code>user_id</code> or <code>expr</code> parameter declared.</p></td>
179 Associates a previously declared [`user`](cil_user_statements.md#user) identifier with a previously…
199 <td align="left"><p>A previously declared SELinux <code>user</code> identifier.</p></td>
203 <td align="left"><p>A previously declared <code>level</code> identifier. This may consist of a sing…
[all …]
/external/clang/test/FixIt/
Dtypo.m7 @interface NSString // expected-note 2{{'NSString' declared here}}
17 @property int *sprop; // expected-note{{'sprop' declared here}}
22 int his_ivar; // expected-note 2{{'his_ivar' declared here}}
27 @property int his_prop; // expected-note{{'his_prop' declared here}}
32 int her_ivar; // expected-note 2{{'her_ivar' declared here}}
35 @property int her_prop; // expected-note{{'her_prop' declared here}}
67 @interface Collide // expected-note{{'Collide' declared here}}
70 int value; // expected-note{{'value' declared here}}
73 @property int value; // expected-note{{'value' declared here}}
91 @protocol NetworkSocket // expected-note{{'NetworkSocket' declared here}}
/external/clang/test/ARCMT/
Datautorelease-check.m103 // 'x' is declared inside the "pool scope" but used outside it, if we create
105 int x = 0; // expected-note {{declared here}}
109 …expected-error {{a name is referenced outside the NSAutoreleasePool scope that it was declared in}}
116 struct S { int x; }; // expected-note {{declared here}}
120 …expected-error {{a name is referenced outside the NSAutoreleasePool scope that it was declared in}}
128 enum { Bar }; // expected-note {{declared here}}
132 …expected-error {{a name is referenced outside the NSAutoreleasePool scope that it was declared in}}
139 typedef int Bar; // expected-note {{declared here}}
143 …expected-error {{a name is referenced outside the NSAutoreleasePool scope that it was declared in}}
/external/clang/test/ASTMerge/
Dinterface.m5 // CHECK: interface2.m:16:9: error: instance variable 'ivar2' declared with incompatible types in d…
6 // CHECK: interface1.m:16:7: note: declared here with type 'int'
11 // CHECK: interface1.m:34:1: note: class method 'foo' also declared here
13 // CHECK: interface1.m:40:17: note: declared here with type 'int'
15 // CHECK: interface1.m:46:1: note: class method 'bar:' also declared here
17 // CHECK: interface1.m:58:19: note: declared here with type 'float'
/external/valgrind/drd/tests/
Dannotate_ignore_write2.stderr.exp5 declared at annotate_ignore_write.c:11
10 declared at annotate_ignore_write.c:10
15 declared at annotate_ignore_write.c:12
20 declared at annotate_ignore_write.c:10

12345678910>>...25