mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-15 08:31:49 +01:00
Remove superfluous Expression::toConstElem overrides.
The error message can be printed by the non-overridden Expression::toConstElem just as well.
This commit is contained in:
@@ -562,7 +562,6 @@ struct AssocArrayLiteralExp : Expression
|
||||
|
||||
#if IN_LLVM
|
||||
DValue* toElem(IRState* irs);
|
||||
llvm::Constant *toConstElem(IRState *irs);
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -1398,7 +1397,6 @@ struct SliceExp : UnaExp
|
||||
|
||||
#if IN_LLVM
|
||||
DValue* toElem(IRState* irs);
|
||||
llvm::Constant *toConstElem(IRState *irs);
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -1501,7 +1499,6 @@ struct IndexExp : BinExp
|
||||
elem *toElem(IRState *irs);
|
||||
#elif IN_LLVM
|
||||
DValue* toElem(IRState* irs);
|
||||
llvm::Constant *toConstElem(IRState *irs);
|
||||
void cacheLvalue(IRState* irs);
|
||||
#endif
|
||||
};
|
||||
@@ -2127,7 +2124,6 @@ struct GEPExp : UnaExp
|
||||
Expression *toLvalue(Scope *sc, Expression *e);
|
||||
|
||||
DValue* toElem(IRState* irs);
|
||||
llvm::Constant *toConstElem(IRState *irs);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user