dmd.chkformat

Check the arguments to printf and scanf against the format string.

Members

Functions

checkPrintfFormat
bool checkPrintfFormat(Loc loc, char[] format, Expression[] args, bool isVa_list, ErrorSink eSink)

Check that arguments to a printf format string are compatible with that string. Issue errors for incompatibilities.

checkScanfFormat
bool checkScanfFormat(Loc loc, char[] format, Expression[] args, bool isVa_list, ErrorSink eSink)

Check that arguments to a scanf format string are compatible with that string. Issue errors for incompatibilities.

Meta