incUsageElem

Produce elem which increments the usage count for a particular line. Sets corresponding bit in bitmap m.covb[linnum]. Used to implement -cov switch (coverage analysis).

extern (C++) extern (D)
incUsageElem
(,
const ref Loc loc
)

Parameters

irs
Type: IRState*

context

loc
Type: Loc

line and file of what line to show usage for

Return Value

Type: elem*

elem that increments the line count References: https://dlang.org/dmd-windows.html#switch-cov

Meta