DiagnosticReporter.deprecation

Reports a deprecation message.

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

Parameters

loc Loc

Location of the deprecation

format const(char)*

format string for the deprecation

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