DiagnosticReporter.warning

Reports a warning message.

class DiagnosticReporter
nothrow abstract
bool
warning
(
const ref Loc loc
,
const(char)* format
,
va_list args
,
const(char)* p1
,
const(char)* p2
)

Parameters

loc Loc

Location of warning

format const(char)*

format string for warning

args va_list

printf-style variadic arguments

p1 const(char)*

additional message prefix

p2 const(char)*

additional message prefix

Return Value

Type: bool

false if the message should also be printed to stderr, true otherwise

Meta