checkPrintfScanfSignature

Check signature of pragma(printf) function, print error if invalid.

printf/scanf-like functions must be of the form: extern (C/C++) T printf(parameters..., const(char)* format, ...); or: extern (C/C++) T vprintf(parameters..., const(char)* format, va_list);

void
checkPrintfScanfSignature

Parameters

funcdecl FuncDeclaration

function to check

f TypeFunction

function type

sc Scope*

scope

Meta