Lines Matching +full:x +full:- +full:versions

1 // RUN: %clang_cc1 -triple i386-pc-unknown -Wconversion -Wliteral-conversion -fsyntax-only -verify …
4 …, c, d) int a,b,c,d; {} // expected-warning {{a function definition without a prototype is depreca… in f0()
6 f0(1); // expected-warning{{too few arguments}} in t0()
9 …d f1(a, b) int a, b; {} // expected-warning {{a function definition without a prototype is depreca… in f1()
11 f1(1, 2, 3); // expected-warning{{too many arguments}} in t1()
14 void f2(float); // expected-note{{previous declaration is here}}
15 void f2(x) float x; { } // expected-warning{{promoted type 'double' of K&R function parameter is no… in f2() argument
16 …expected-warning {{a function definition without a prototype is deprecated in all versions of C an…
28 …register char *s, c; // expected-warning{{promoted type 'char *' of K&R function parameter is not … in rindex()
35 void proto(x) // expected-warning {{a function definition without a prototype is deprecated in all in proto() argument
36 int x; in proto()
41 …proto(42.1); // expected-warning{{implicit conversion from 'double' to 'int' changes value from 42… in use_proto()
42 …(&proto)(42.1); // expected-warning{{implicit conversion from 'double' to 'int' changes value from… in use_proto()
46 void func(short d) __attribute__((cdecl)); // expected-note{{previous declaration is here}}
47 …bute__((cdecl)) func(d) // expected-warning {{a function definition without a prototype is depreca… in func()
48 …short d; // expected-warning{{promoted type 'int' of K&R function parameter is not compatible with… in func()