mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-05-03 00:41:29 +02:00
Implement a rough AddrExp::toConstElem()
This commit is contained in:
@@ -865,6 +865,8 @@ struct AddrExp : UnaExp
|
||||
MATCH implicitConvTo(Type *t);
|
||||
Expression *castTo(Scope *sc, Type *t);
|
||||
Expression *optimize(int result);
|
||||
// LLVMDC
|
||||
virtual llvm::Constant *toConstElem(IRState *irs);
|
||||
};
|
||||
|
||||
struct PtrExp : UnaExp
|
||||
|
||||
Reference in New Issue
Block a user