comparison dmd/expression.h @ 619:722630261d62

Implemented constant pointer casts (like casting function pointer to void* as a constant global initializer)
author tomas@myhost
date Sun, 28 Sep 2008 21:09:21 +0200
parents 4435f57956e7
children eef8ac26c66c
comparison
equal deleted inserted replaced
618:c9aa338280ed 619:722630261d62
1001 void toCBuffer(OutBuffer *buf, HdrGenState *hgs); 1001 void toCBuffer(OutBuffer *buf, HdrGenState *hgs);
1002 elem *toElem(IRState *irs); 1002 elem *toElem(IRState *irs);
1003 1003
1004 // For operator overloading 1004 // For operator overloading
1005 Identifier *opId(); 1005 Identifier *opId();
1006
1007 // LLVMDC
1008 virtual llvm::Constant *toConstElem(IRState *irs);
1006 }; 1009 };
1007 1010
1008 1011
1009 struct SliceExp : UnaExp 1012 struct SliceExp : UnaExp
1010 { 1013 {