• Home
  • Raw
  • Download

Lines Matching refs:conversion

18   b = fl; // expected-warning {{implicit conversion from floating-point type 'float' to 'BOOL'}}
19 b = i; // expected-warning {{implicit conversion from integral type 'int' to 'BOOL'}}
23 …b = 1.1; // expected-warning {{implicit conversion from 'double' to 'BOOL' (aka 'signed char') cha…
24 …b = 2.1; // expected-warning {{implicit conversion from constant value 2.1 to 'BOOL'; the only wel…
28 …b = ptr; // expected-warning {{incompatible pointer to integer conversion assigning to 'BOOL' (aka…
40 bp.p = fl; // expected-warning {{implicit conversion from floating-point type 'float' to 'BOOL'}}
41 bp.p = i; // expected-warning {{implicit conversion from integral type 'int' to 'BOOL'}}
45 …bp.p = ptr; // expected-warning {{incompatible pointer to integer conversion assigning to 'BOOL' (…
48 …bp.p = 2; // expected-warning {{implicit conversion from constant value 2 to 'BOOL'; the only well…
61 b = bf->signed_bf1; // expected-warning{{implicit conversion from integral type 'int' to 'BOOL'}}
62 b = bf->signed_bf2; // expected-warning{{implicit conversion from integral type 'int' to 'BOOL'}}
64 …b = bf->unsigned_bf2; // expected-warning{{implicit conversion from integral type 'unsigned int' t…
67 …b = local.unsigned_bf2; // expected-warning{{implicit conversion from integral type 'unsigned int'…
69 …b = local.nested->unsigned_bf2; // expected-warning{{implicit conversion from integral type 'unsig…
88 …b = bf.unsigned_bf2; // expected-warning{{implicit conversion from integral type 'unsigned int' to…
90 …b = unsigned_bf2; // expected-warning{{implicit conversion from integral type 'unsigned int' to 'B…
103 …BOOL b = i.i; // expected-warning{{implicit conversion from integral type 'unsigned int' to 'BOOL'…
115 b = b ?: i; // expected-warning {{implicit conversion from integral type 'int' to 'BOOL'}}
116 b = (b = i) // expected-warning {{implicit conversion from integral type 'int' to 'BOOL'}}
118 …b = (1 ? YES : i) ?: YES; // expected-warning {{implicit conversion from integral type 'int' to 'B…
119 …b = b ?: (1 ? i : i); // expected-warning 2 {{implicit conversion from integral type 'int' to 'BOO…
121 …b = b ? YES : (i ?: 0); // expected-warning {{implicit conversion from integral type 'int' to 'BOO…