dmd.chkformat

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

Members

Functions

checkPrintfFormat
bool checkPrintfFormat(ref const Loc loc, scope const char[] format, scope Expression[] args, bool isVa_list)

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

checkScanfFormat
bool checkScanfFormat(ref const Loc loc, scope const char[] format, scope Expression[] args, bool isVa_list)

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

Meta