ddc ~master (2020-05-01T11:40:35Z)
Dub
Repo
DiagnosticSet.add
dmd
diagnostic
DiagnosticSet
Adds the given diagnostic to the set of diagnostics.
DiagnosticSet
opOpAssign
(
Diagnostic
diagnostic
)
void
add
(
Diagnostic
diagnostic
)
struct
DiagnosticSet
pure @
safe
nothrow
void
add
(
Diagnostic
diagnostic
)
Parameters
diagnostic
Type:
Diagnostic
the diagnostic to add
Meta
Source
See Implementation
dmd
diagnostic
DiagnosticSet
functions
add
addSupplemental
empty
front
length
opIndex
opOpAssign
popFront
toString
Adds the given diagnostic to the set of diagnostics.