verrorReport

Implements error, warning, deprecation, message, and tip. Report a diagnostic error, taking a va_list parameter, and optionally additional message prefixes. Whether the message gets printed depends on runtime values of DiagnosticReporting and global gagging.

extern (C++) nothrow
void
verrorReport
(
const ref Loc loc
,
const(char)* format
,
va_list ap
,,
const(char)* p1 = null
,
const(char)* p2 = null
)

Parameters

loc Loc

location of error

format const(char)*

printf-style format specification

ap va_list

printf-style variadic arguments

kind ErrorKind

kind of error being printed

p1 const(char)*

additional message prefix

p2 const(char)*

additional message prefix

Meta