File indexing completed on 2024-04-28 05:38:42
0001 #include <QtCore/QString> 0002 0003 void simple_printf(const char* ...) 0004 { 0005 } 0006 0007 0008 void test() 0009 { 0010 QString s; 0011 printf("%s", s); // Warn 0012 simple_printf("%s", s); // Warn 0013 const char *foo = "f"; 0014 printf("%s", foo); 0015 0016 QByteArray b; 0017 printf("%s", b); // Warn 0018 }