Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:warning

9   return f;  //expected-warning{{conversion}}
13 return f; //expected-warning{{conversion}}
17 return f; //expected-warning{{conversion}}
21 return f; //expected-warning{{conversion}}
30 b = f; //expected-warning{{conversion}}
31 b = d; //expected-warning{{conversion}}
32 b = ld; //expected-warning{{conversion}}
33 c = f; //expected-warning{{conversion}}
34 c = d; //expected-warning{{conversion}}
35 c = ld; //expected-warning{{conversion}}
36 i = f; //expected-warning{{conversion}}
37 i = d; //expected-warning{{conversion}}
38 i = ld; //expected-warning{{conversion}}
39 l = f; //expected-warning{{conversion}}
40 l = d; //expected-warning{{conversion}}
41 l = ld; //expected-warning{{conversion}}
45 int a1 = 10.0/2.0; //expected-warning{{conversion}}
46 int a2 = 1.0/2.0; //expected-warning{{conversion}}
47 bool a3 = ReturnFloat(); //expected-warning{{conversion}}
48 int a4 = 1e30 + 1; //expected-warning{{conversion}}
59 int b1 = 5.0 / 1.0; //expected-warning{{conversion}}
60 int b2 = 5.0 / 2.0; //expected-warning{{conversion}}
64 int b3 = five / 1.0; //expected-warning{{conversion}}
65 int b4 = five / 2.0; //expected-warning{{conversion}}
72 int a1 = half; // expected-warning{{implicit conversion from 'const float' to 'int' changes non-zero value from 0.5 to 0}}
73 int a2 = 1.0 / 2.0; // expected-warning{{implicit conversion from 'double' to 'int' changes non-zero value from 0.5 to 0}}
84 char c = LargeNumber; // expected-warning{{implicit conversion of out of range value from 'const float' to 'char' changes value from 1024 to 127}}
85 char d = 400.0 + 400.0; // expected-warning{{implicit conversion of out of range value from 'double' to 'char' changes value from 800 to 127}}
87 char e = 1.0 / 0.0; // expected-warning{{implicit conversion of out of range value from 'double' to 'char' changes value from +Inf to 127}}