mirror of
https://github.com/dlang/dmd.git
synced 2025-04-27 05:30:13 +03:00
glue code does not need to be C++ (#15850)
This commit is contained in:
parent
b59bc93e2d
commit
4a7d803384
6 changed files with 0 additions and 12 deletions
|
@ -74,8 +74,6 @@ import dmd.backend.symtab;
|
|||
import dmd.backend.ty;
|
||||
import dmd.backend.type;
|
||||
|
||||
extern (C++):
|
||||
|
||||
alias Elems = Array!(elem *);
|
||||
|
||||
import dmd.backend.util2 : mem_malloc2;
|
||||
|
|
|
@ -195,8 +195,6 @@ public void generateCodeAndWrite(Module[] modules, const(char)*[] libmodules,
|
|||
}
|
||||
}
|
||||
|
||||
extern (C++):
|
||||
|
||||
//extern
|
||||
public __gshared Symbol* bzeroSymbol; /// common location for immutable zeros
|
||||
|
||||
|
|
|
@ -67,8 +67,6 @@ import dmd.backend.symtab;
|
|||
import dmd.backend.ty;
|
||||
import dmd.backend.type;
|
||||
|
||||
extern (C++):
|
||||
|
||||
alias StmtState = dmd.stmtstate.StmtState!block;
|
||||
|
||||
|
||||
|
|
|
@ -59,8 +59,6 @@ import dmd.backend.cgcv;
|
|||
import dmd.backend.symtab;
|
||||
import dmd.backend.ty;
|
||||
|
||||
extern (C++):
|
||||
|
||||
|
||||
/*************************************
|
||||
* Helper
|
||||
|
|
|
@ -155,8 +155,6 @@ struct IRState
|
|||
}
|
||||
}
|
||||
|
||||
extern (C++):
|
||||
|
||||
/*********************************************
|
||||
* Produce elem which increments the usage count for a particular line.
|
||||
* Sets corresponding bit in bitmap `m.covb[linnum]`.
|
||||
|
|
|
@ -75,8 +75,6 @@ import dmd.backend.oper;
|
|||
import dmd.backend.ty;
|
||||
import dmd.backend.type;
|
||||
|
||||
extern (C++):
|
||||
|
||||
/* ================================================================== */
|
||||
|
||||
// Put out instance of ModuleInfo for this Module
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue