Home | History | Annotate | Download | only in SemaCXX

Lines Matching refs:printf

5 extern int printf(const char *restrict, ...);
11 printf("%a", 1.0);
13 printf(nullptr);
14 printf(*sp); // expected-warning {{not a string literal}}
17 printf(
22 printf(u8"this is %d test", 0); // ok
23 printf(u8R"foo(
28 printf("init list: %d", { 0 }); // expected-error {{cannot pass initializer list to variadic function; expected type from format string was 'int'}}
29 printf("void: %d", f(sp, fp)); // expected-error {{cannot pass expression of type 'void' to variadic function; expected type from format string was 'int'}}
30 printf(0, { 0 }); // expected-error {{cannot pass initializer list to variadic function}}