Home
last modified time | relevance | path

Searched refs:DelegateExp (Results 1 – 25 of 29) sorted by relevance

12

/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dvisitor.d76 void visit(ASTCodegen.DelegateExp e) { visit(cast(ASTCodegen.UnaExp)e); }
180 override void visit(ASTCodegen.DelegateExp e)
H A Dprintast.d199 override void visit(DelegateExp e) in visit()
H A Dexpression.h169 DelegateExp* isDelegateExp();
800 class DelegateExp : public UnaExp
H A Dvisitor.h228 class DelegateExp; variable
639 virtual void visit(DelegateExp *e) { visit((UnaExp *)e); } in visit()
H A Ddcast.d1036 MATCH visitDelegate(DelegateExp e) in implicitConvTo()
2409 result = new DelegateExp(e.loc, new ThisExp(e.loc), f, false); in visitSymOff()
2419 result = new DelegateExp(e.loc, IntegerExp.literal!0, f, false); in visitSymOff()
2449 Expression visitDelegate(DelegateExp e) in visitDelegate()
2484 auto result = new DelegateExp(e.loc, e.e1, f, false, e.vthis2); in visitDelegate()
H A Dstatementsem.d1417 if (fs.aggr.op == EXP.delegate_ && (cast(DelegateExp)fs.aggr).func.isNested() && in package()
1418 !(cast(DelegateExp)fs.aggr).func.needThis()) in package()
1421 fs.aggr = (cast(DelegateExp)fs.aggr).e1; in package()
H A Descape.d1535 override void visit(DelegateExp e) in visit()
H A Dexpression.d1665 …inout(DelegateExp) isDelegateExp() { return op == EXP.delegate_ ? cast(typeof(return))this : null… in isDelegateExp()
4975 extern (C++) final class DelegateExp : UnaExp
4983 super(loc, EXP.delegate_, __traits(classInstanceSize, DelegateExp), e);
H A Dexpressionsem.d4217 if (DelegateExp de = exp.e1.isDelegateExp()) in visit()
6700 override void visit(DelegateExp e) in visit()
6989 e = new DelegateExp(exp.loc, dve.e1, f, dve.hasOverloads); in visit()
7038 … Expression e = new DelegateExp(exp.loc, new NullExp(exp.loc, Type.tnull), f, ve.hasOverloads); in visit()
7044 Expression e = new DelegateExp(exp.loc, exp.e1, f, ve.hasOverloads); in visit()
7057 Expression e = new DelegateExp(exp.loc, ethis, f, ve.hasOverloads); in visit()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Descape.c794 void visit(DelegateExp *e) in escapeByValue()
1165 DelegateExp *de = (DelegateExp *)arg; in escapeByRef()
H A Dctfeexpr.c1177 return ((DelegateExp *)e)->func; in funcptrOf()
1247 Expression * ptr1 = ((DelegateExp *)e1)->e1; in ctfeRawCmp()
1248 Expression * ptr2 = ((DelegateExp *)e2)->e1; in ctfeRawCmp()
1893 Expression *ethis = ((DelegateExp *)newval)->e1; in isCtfeValueValid()
1896 (ethis->op == TOKvar && ((VarExp *)ethis)->var == ((DelegateExp *)newval)->func)); in isCtfeValueValid()
H A Dvisitor.h219 class DelegateExp; variable
513 virtual void visit(DelegateExp *e) { visit((UnaExp *)e); } in visit()
H A Ddcast.c961 void visit(DelegateExp *e) in implicitConvTo()
2161 result = new DelegateExp(e->loc, new ThisExp(e->loc), f, false); in castTo()
2166 result = new DelegateExp(e->loc, new IntegerExp(0), f, false); in castTo()
2204 void visit(DelegateExp *e) in castTo()
2226 result = new DelegateExp(e->loc, e->e1, f, false); in castTo()
H A Dexpression.c1696 DelegateExp *de = (DelegateExp *)a; in functionParameters()
5463 DelegateExp::DelegateExp(Loc loc, Expression *e, FuncDeclaration *f, bool hasOverloads) in DelegateExp() function
5464 : UnaExp(loc, TOKdelegate, sizeof(DelegateExp), e) in DelegateExp()
5631 DelegateExp *dge = (DelegateExp *)e;
H A Ddinterpret.c2055 void visit(DelegateExp *e) in visit()
2079 new(pue) DelegateExp(e->loc, er, e->func, false); in visit()
4686 fd = ((DelegateExp *)ecall)->func; in visit()
4687 pthis = ((DelegateExp *)ecall)->e1; in visit()
6556 fd = ((DelegateExp *)deleg)->func; in interpret_aaApply()
6557 pthis = ((DelegateExp *)deleg)->e1; in interpret_aaApply()
6615 fd = ((DelegateExp *)deleg)->func; in foreachApplyUtf()
6616 pthis = ((DelegateExp *)deleg)->e1; in foreachApplyUtf()
H A Dexpression.h842 class DelegateExp : public UnaExp
848 DelegateExp(Loc loc, Expression *e, FuncDeclaration *func, bool hasOverloads = true);
H A Dopover.c1680 sapply = ((DelegateExp *)aggr)->func; in inferAggregate()
1728 ethis = ((DelegateExp *)fes->aggr)->e1; in inferApplyArgTypes()
H A Dexpressionsem.c2678 void visit(DelegateExp *e) in visit()
2760 DelegateExp *de = (DelegateExp *)exp->e1; in visit()
3706 e = new DelegateExp(exp->loc, dve->e1, f, dve->hasOverloads); in visit()
3769 …Expression *e = new DelegateExp(exp->loc, new NullExp(exp->loc, Type::tnull), f, ve->hasOverloads); in visit()
3775 Expression *e = new DelegateExp(exp->loc, exp->e1, f, ve->hasOverloads); in visit()
3788 Expression *e = new DelegateExp(exp->loc, ethis, f, ve->hasOverloads); in visit()
H A Dstatementsem.c1666 ((DelegateExp *)fs->aggr)->func->isNested()) in visit()
1669 fs->aggr = ((DelegateExp *)fs->aggr)->e1; in visit()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A DChangeLog-2016153 (ExprVisitor::visit(DelegateExp)): Likewise.
725 (ExprVisitor::visit(DelegateExp)): Likewise.
1001 (DelegateExp::toElem): Likewise.
H A DChangeLog-2012632 * d-glue.cc (DelegateExp::toElem): Remove check for deferredNestedFuncs
791 (DelegateExp::toElem): Implement handling of lambda functions.
H A DChangeLog-2017423 * expr.cc (ExprVisitor::visit(DelegateExp)): Convert object to right
750 * expr.cc (ExprVisitor::visit(DelegateExp)): Don't defer compiling
H A DChangeLog-2015693 (DelegateExp::toElem): Update for frontend changes.
H A DChangeLog-2013836 * d-elem.cc (DelegateExp::toElem): Likewise.
H A Dexpr.cc1816 void visit (DelegateExp *e) in visit()

12