Home | History | Annotate | Download | only in SemaCXX

Lines Matching refs:var0

83   ConsumableClass<int> var0;
87 ConsumableClass<int> var4(var0); // copy consumed value
89 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
95 var0 = ConsumableClass<int>(42);
96 *var0;
98 var0 = var1;
99 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
101 if (var0.isValid()) {
102 *var0;
106 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
128 ConsumableClass<int> var0;
131 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
134 var0 = static_cast<ConsumableClass<int>&&>(var1);
136 *var0;
175 ConsumableClass<int> var0, var1, var2;
177 if (var0 && var1) {
178 *var0;
182 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
186 if (var0 || var1) {
187 *var0;
191 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
195 if (var0 && !var1) {
196 *var0;
200 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
204 if (var0 || !var1) {
205 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
209 *var0;
213 if (!var0 && !var1) {
214 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
218 *var0;
222 if (!var0 || !var1) {
223 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
227 *var0;
231 if (!(var0 && var1)) {
232 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
236 *var0;
240 if (!(var0 || var1)) {
241 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
245 *var0;
249 if (var0 && var1 && var2) {
250 *var0;
255 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
262 if (var0 || var1 || var2) {
263 *var0;
268 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
276 ConsumableClass<int> var0, var1, var2;
279 baf4(var0);
283 if (var0 && var1) {
284 *var0;
288 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'unknown' state}}
292 if (var0 || var1) {
293 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'unknown' state}}
297 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
301 if (var0 && !var1) {
302 *var0;
306 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'unknown' state}}
310 if (var0 || !var1) {
311 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'unknown' state}}
315 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
319 if (!var0 && !var1) {
320 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
324 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'unknown' state}}
328 if (!(var0 || var1)) {
329 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
333 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'unknown' state}}
337 if (!var0 || !var1) {
338 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'unknown' state}}
342 *var0;
346 if (!(var0 && var1)) {
347 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'unknown' state}}
351 *var0;
355 if (var0 && var1 && var2) {
356 *var0;
361 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'unknown' state}}
368 if (var0 || var1 || var2) {
369 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'unknown' state}}
374 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
432 ConsumableClass<int> Var0, Var1(42);
434 testParamTypestateCallee(Var0
535 ConsumableClass<int> var0;
538 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
541 var0 = static_cast<ConsumableClass<long>&&>(var1);
543 *var0;
612 ConsumableClass<int> var0, var1(42);
615 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
622 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
628 ConsumableClass<int> var0, var1(42);
631 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}
638 *var0; // expected-warning {{invalid invocation of method 'operator*' on object 'var0' while it is in the 'consumed' state}}