Hi, This patch implements a long standing FIXME. When calling a non variadic format function(vprintf, vscanf, NSLogv, …), is the format argument references a parameter of the enclosing function, clang never warned. With this change, clang will inhibit the warning only if the parameter is declared as a format string with a compatible type.
-- Jean-Daniel
vprintf.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
