mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-05 17:43:35 +03:00
Glue layer: Make all mutable Loc &
params const
This commit is contained in:
parent
3f9d05ac16
commit
a9aafac862
25 changed files with 205 additions and 190 deletions
|
@ -13,7 +13,7 @@
|
|||
#include "gen/irstate.h"
|
||||
#include "gen/logger.h"
|
||||
|
||||
void emitCoverageLinecountInc(Loc &loc) {
|
||||
void emitCoverageLinecountInc(const Loc &loc) {
|
||||
Module *m = gIR->dmodule;
|
||||
|
||||
// Only emit coverage increment for locations in the source of the current
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue