Showing with 5 additions and 3 deletions.
  1. +0 −1 src/backend.d
  2. +1 −0 src/e2ir.c
  3. +1 −0 src/glue.c
  4. +0 −2 src/mtype.h
  5. +1 −0 src/s2ir.c
  6. +2 −0 src/toctype.d
1 change: 0 additions & 1 deletion src/backend.d
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ alias list_t = LIST*;
alias type = TYPE;

extern extern (C++) type* type_fake(tym_t);
extern extern (C++) uint totym(Type tx);
extern extern (C++) void type_incCount(type* t);
extern extern (C++) void type_setIdent(type* t, char* ident);

Expand Down
1 change: 1 addition & 0 deletions src/e2ir.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
#include "ctfe.h"

typedef Array<elem *> Elems;
RET retStyle(TypeFunction *tf);

elem *addressElem(elem *e, Type *t, bool alwaysCopy = false);
elem *array_toPtr(Type *t, elem *e);
Expand Down
1 change: 1 addition & 0 deletions src/glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include "irstate.h"

void clearStringTab();
RET retStyle(TypeFunction *tf);

elem *addressElem(elem *e, Type *t, bool alwaysCopy = false);
void Statement_toIR(Statement *s, IRState *irs);
Expand Down
2 changes: 0 additions & 2 deletions src/mtype.h
Original file line number Diff line number Diff line change
Expand Up @@ -594,8 +594,6 @@ enum PURE
PUREstrong = 4, // parameters are values or immutable
};

RET retStyle(TypeFunction *tf);

class TypeFunction : public TypeNext
{
public:
Expand Down
1 change: 1 addition & 0 deletions src/s2ir.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ elem *toElemDtor(Expression *e, IRState *irs);
Symbol *toSymbol(Type *t);
unsigned totym(Type *tx);
Symbol *toSymbol(Dsymbol *s);
RET retStyle(TypeFunction *tf);

#define elem_setLoc(e,loc) srcpos_setLoc(&(e)->Esrcpos, loc)
#define block_setLoc(b,loc) srcpos_setLoc(&(b)->Bsrcpos, loc)
Expand Down
2 changes: 2 additions & 0 deletions src/toctype.d
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import ddmd.id;
import ddmd.mtype;
import ddmd.visitor;

extern extern (C++) uint totym(Type tx);

extern (C++) final class ToCtypeVisitor : Visitor
{
alias visit = super.visit;
Expand Down