• Home
  • Raw
  • Download

Lines Matching full:an

15 …if (x = 7) {} // expected-warning {{using the result of an assignment as a condition without paren…  in test()
16 // expected-note{{use '==' to turn this assignment into an equality comparison}} \ in test()
20 …} while (x = 7); // expected-warning {{using the result of an assignment as a condition without pa… in test()
21 // expected-note{{use '==' to turn this assignment into an equality comparison}} \ in test()
25 …while (x = 7) {} // expected-warning {{using the result of an assignment as a condition without pa… in test()
26 // expected-note{{use '==' to turn this assignment into an equality comparison}} \ in test()
30 …for (; x = 7; ) {} // expected-warning {{using the result of an assignment as a condition without … in test()
31 // expected-note{{use '==' to turn this assignment into an equality comparison}} \ in test()
35 …if (p = p) {} // expected-warning {{using the result of an assignment as a condition without paren… in test()
36 // expected-note{{use '==' to turn this assignment into an equality comparison}} \ in test()
40 …} while (p = p); // expected-warning {{using the result of an assignment as a condition without pa… in test()
41 // expected-note{{use '==' to turn this assignment into an equality comparison}} \ in test()
45 …while (p = p) {} // expected-warning {{using the result of an assignment as a condition without pa… in test()
46 // expected-note{{use '==' to turn this assignment into an equality comparison}} \ in test()
49 …for (; p = p; ) {} // expected-warning {{using the result of an assignment as a condition without … in test()
50 // expected-note{{use '==' to turn this assignment into an equality comparison}} \ in test()
61 …if (x = (b+b).foo()) {} // expected-warning {{using the result of an assignment as a condition wit… in test()
62 // expected-note{{use '==' to turn this assignment into an equality comparison}} \ in test()
66 …} while (x = (b+b).foo()); // expected-warning {{using the result of an assignment as a condition … in test()
67 // expected-note{{use '==' to turn this assignment into an equality comparison}} \ in test()
71 …while (x = (b+b).foo()) {} // expected-warning {{using the result of an assignment as a condition … in test()
72 // expected-note{{use '==' to turn this assignment into an equality comparison}} \ in test()
75 …for (; x = (b+b).foo(); ) {} // expected-warning {{using the result of an assignment as a conditio… in test()
76 // expected-note{{use '==' to turn this assignment into an equality comparison}} \ in test()
81 …if (a = b + b) {} // expected-warning {{using the result of an assignment as a condition without p… in test()
82 // expected-note{{use '==' to turn this assignment into an equality comparison}} \ in test()
86 …} while (a = b + b); // expected-warning {{using the result of an assignment as a condition withou… in test()
87 // expected-note{{use '==' to turn this assignment into an equality comparison}} \ in test()
91 …while (a = b + b) {} // expected-warning {{using the result of an assignment as a condition withou… in test()
92 // expected-note{{use '==' to turn this assignment into an equality comparison}} \ in test()
95 …for (; a = b + b; ) {} // expected-warning {{using the result of an assignment as a condition with… in test()
96 // expected-note{{use '==' to turn this assignment into an equality comparison}} \ in test()
101 …if (x |= 2) {} // expected-warning {{using the result of an assignment as a condition without pare… in test()
102 … // expected-note{{use '!=' to turn this compound assignment into an inequality comparison}} \ in test()
105 …if (a |= b) {} // expected-warning {{using the result of an assignment as a condition without pare… in test()
106 … // expected-note{{use '!=' to turn this compound assignment into an inequality comparison}} \ in test()
110 … // expected-note {{use '=' to turn this equality comparison into an assignment}} \ in test()
129 … // expected-note {{use '=' to turn this equality comparison into an assignment}} \ in test2()
138 … // expected-note {{use '=' to turn this equality comparison into an assignment}} \ in f()