• Home
  • Raw
  • Download

Lines Matching refs:a

10 int ints(long a, unsigned long b) {  in ints()  argument
16 … (a == (unsigned long) b) + // expected-warning {{comparison of integers of different signs}} in ints()
17 (a == (unsigned int) b) + in ints()
18 (a == (unsigned short) b) + in ints()
19 (a == (unsigned char) b) + in ints()
20 ((long) a == b) + // expected-warning {{comparison of integers of different signs}} in ints()
21 ((int) a == b) + // expected-warning {{comparison of integers of different signs}} in ints()
22 ((short) a == b) + // expected-warning {{comparison of integers of different signs}} in ints()
23 ((signed char) a == b) + // expected-warning {{comparison of integers of different signs}} in ints()
24 …((long) a == (unsigned long) b) + // expected-warning {{comparison of integers of different signs… in ints()
25 … ((int) a == (unsigned int) b) + // expected-warning {{comparison of integers of different signs}} in ints()
26 ((short) a == (unsigned short) b) + in ints()
27 ((signed char) a == (unsigned char) b) + in ints()
28 … (a < (unsigned long) b) + // expected-warning {{comparison of integers of different signs}} in ints()
29 (a < (unsigned int) b) + in ints()
30 (a < (unsigned short) b) + in ints()
31 (a < (unsigned char) b) + in ints()
32 ((long) a < b) + // expected-warning {{comparison of integers of different signs}} in ints()
33 ((int) a < b) + // expected-warning {{comparison of integers of different signs}} in ints()
34 ((short) a < b) + // expected-warning {{comparison of integers of different signs}} in ints()
35 ((signed char) a < b) + // expected-warning {{comparison of integers of different signs}} in ints()
36 …((long) a < (unsigned long) b) + // expected-warning {{comparison of integers of different signs}} in ints()
37 … ((int) a < (unsigned int) b) + // expected-warning {{comparison of integers of different signs}} in ints()
38 ((short) a < (unsigned short) b) + in ints()
39 ((signed char) a < (unsigned char) b) + in ints()
68 (a == (unsigned long) B) + in ints()
69 (a == (unsigned int) B) + in ints()
70 (a == (unsigned short) B) + in ints()
71 (a == (unsigned char) B) + in ints()
72 ((long) a == B) + in ints()
73 ((int) a == B) + in ints()
74 ((short) a == B) + in ints()
75 ((signed char) a == B) + in ints()
76 ((long) a == (unsigned long) B) + in ints()
77 ((int) a == (unsigned int) B) + in ints()
78 ((short) a == (unsigned short) B) + in ints()
79 ((signed char) a == (unsigned char) B) + in ints()
80 … (a < (unsigned long) B) + // expected-warning {{comparison of integers of different signs}} in ints()
81 (a < (unsigned int) B) + in ints()
82 (a < (unsigned short) B) + in ints()
83 (a < (unsigned char) B) + in ints()
84 ((long) a < B) + in ints()
85 ((int) a < B) + in ints()
86 ((short) a < B) + in ints()
87 ((signed char) a < B) + in ints()
88 …((long) a < (unsigned long) B) + // expected-warning {{comparison of integers of different signs}} in ints()
89 … ((int) a < (unsigned int) B) + // expected-warning {{comparison of integers of different signs}} in ints()
90 ((short) a < (unsigned short) B) + in ints()
91 ((signed char) a < (unsigned char) B) + in ints()
120 (a == (unsigned long) C) + in ints()
121 (a == (unsigned int) C) + in ints()
122 (a == (unsigned short) C) + in ints()
123 (a == (unsigned char) C) + in ints()
124 ((long) a == C) + in ints()
125 ((int) a == C) + in ints()
126 ((short) a == C) + in ints()
127 ((signed char) a == C) + in ints()
128 ((long) a == (unsigned long) C) + in ints()
129 ((int) a == (unsigned int) C) + in ints()
130 ((short) a == (unsigned short) C) + in ints()
131 ((signed char) a == (unsigned char) C) + in ints()
132 … (a < (unsigned long) C) + // expected-warning {{comparison of integers of different signs}} in ints()
133 (a < (unsigned int) C) + in ints()
134 (a < (unsigned short) C) + in ints()
135 (a < (unsigned char) C) + in ints()
136 ((long) a < C) + in ints()
137 ((int) a < C) + in ints()
138 ((short) a < C) + in ints()
139 ((signed char) a < C) + in ints()
140 …((long) a < (unsigned long) C) + // expected-warning {{comparison of integers of different signs}} in ints()
141 … ((int) a < (unsigned int) C) + // expected-warning {{comparison of integers of different signs}} in ints()
142 ((short) a < (unsigned short) C) + in ints()
143 ((signed char) a < (unsigned char) C) + in ints()
172 (a == (unsigned long) 0x80000) + in ints()
173 (a == (unsigned int) 0x80000) + in ints()
174 (a == (unsigned short) 0x80000) + in ints()
175 (a == (unsigned char) 0x80000) + in ints()
176 ((long) a == 0x80000) + in ints()
177 ((int) a == 0x80000) + in ints()
178 ((short) a == 0x80000) + in ints()
179 ((signed char) a == 0x80000) + in ints()
180 ((long) a == (unsigned long) 0x80000) + in ints()
181 ((int) a == (unsigned int) 0x80000) + in ints()
182 ((short) a == (unsigned short) 0x80000) + in ints()
183 ((signed char) a == (unsigned char) 0x80000) + in ints()
184 … (a < (unsigned long) 0x80000) + // expected-warning {{comparison of integers of different signs}} in ints()
185 (a < (unsigned int) 0x80000) + in ints()
186 (a < (unsigned short) 0x80000) + in ints()
187 (a < (unsigned char) 0x80000) + in ints()
188 ((long) a < 0x80000) + in ints()
189 ((int) a < 0x80000) + in ints()
190 ((short) a < 0x80000) + in ints()
191 ((signed char) a < 0x80000) + in ints()
192 …((long) a < (unsigned long) 0x80000) + // expected-warning {{comparison of integers of different … in ints()
193 …((int) a < (unsigned int) 0x80000) + // expected-warning {{comparison of integers of different si… in ints()
194 ((short) a < (unsigned short) 0x80000) + in ints()
195 ((signed char) a < (unsigned char) 0x80000) + in ints()
198 (b != (a < 4 ? 1 : 2)) + in ints()
204 int equal(char *a, const char *b) { in equal() argument
205 return a == b; in equal()
208 int arrays(char (*a)[5], char(*b)[10], char(*c)[5]) { in arrays()
209 int d = (a == c); in arrays()
210 return a == b; // expected-warning {{comparison of distinct pointer types}} in arrays()
213 int pointers(int *a) { in pointers() argument
214 …return a > 0; // expected-warning {{ordered comparison between pointer and zero ('int *' and 'int'… in pointers()
215 …return a > 42; // expected-warning {{ordered comparison between pointer and integer ('int *' and '… in pointers()
216 return a > (void *)0; // expected-warning {{comparison of distinct pointer types}} in pointers()
219 int function_pointers(int (*a)(int), int (*b)(int), void (*c)(int)) { in function_pointers()
220 return a > b; // expected-warning {{ordered comparison of function pointers}} in function_pointers()
222 return a > c; // expected-warning {{comparison of distinct pointer types}} in function_pointers()
223 return a == (void *) 0; in function_pointers()
224 …return a == (void *) 1; // expected-warning {{equality comparison between function pointer and voi… in function_pointers()
310 enum A a; in rdar8511238() local
311 if (a < 0) // expected-warning {{comparison of unsigned enum expression < 0 is always false}} in rdar8511238()
340 void test12(unsigned a) { in test12() argument
341 if (0 && -1 > a) { } in test12()