comparison dmd/expression.h @ 1615:3da302cc4966

Merge DMD r294: bugzilla 2816 Sudden-death static assert is not... bugzilla 2816 Sudden-death static assert is not very useful. --- dmd/expression.h | 12 ++++++ dmd/staticassert.c | 10 +--- dmd/template.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++++---- dmd/template.h | 2 + 4 files changed, 117 insertions(+), 15 deletions(-)
author Leandro Lucarella <llucax@gmail.com>
date Wed, 06 Jan 2010 15:18:21 -0300
parents 207a8a438dea
children a87f1d6ff48e
comparison
equal deleted inserted replaced
1614:dbf7b54f542f 1615:3da302cc4966
1544 #if IN_LLVM 1544 #if IN_LLVM
1545 DValue* toElem(IRState* irs); 1545 DValue* toElem(IRState* irs);
1546 #endif 1546 #endif
1547 }; 1547 };
1548 1548
1549 #if DMDV2
1550 struct PowExp : BinExp
1551 {
1552 PowExp(Loc loc, Expression *e1, Expression *e2);
1553 Expression *semantic(Scope *sc);
1554
1555 // For operator overloading
1556 Identifier *opId();
1557 Identifier *opId_r();
1558 };
1559 #endif
1560
1549 struct ShlExp : BinExp 1561 struct ShlExp : BinExp
1550 { 1562 {
1551 ShlExp(Loc loc, Expression *e1, Expression *e2); 1563 ShlExp(Loc loc, Expression *e1, Expression *e2);
1552 Expression *semantic(Scope *sc); 1564 Expression *semantic(Scope *sc);
1553 Expression *optimize(int result); 1565 Expression *optimize(int result);