Home
last modified time | relevance | path

Searched refs:ethis (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dopover.c26 static Dsymbol *inferApplyArgTypesX(Expression *ethis, FuncDeclaration *fstart, Parameters *paramet…
1557 Expression *build_overload(Loc loc, Scope *sc, Expression *ethis, Expression *earg, in build_overload() argument
1568 e = new DotVarExp(loc, ethis, decl, false); in build_overload()
1570 e = new DotIdExp(loc, ethis, d->ident); in build_overload()
1722 Expression *ethis; in inferApplyArgTypes() local
1725 ethis = fes->aggr; in inferApplyArgTypes()
1728 ethis = ((DelegateExp *)fes->aggr)->e1; in inferApplyArgTypes()
1738 sapply = inferApplyArgTypesX(ethis, fd, fes->parameters); in inferApplyArgTypes()
1854 static Dsymbol *inferApplyArgTypesX(Expression *ethis, FuncDeclaration *fstart, Parameters *paramet… in inferApplyArgTypesX() argument
1896 p.mod = ethis->type->mod; in inferApplyArgTypesX()
[all …]
H A Dctfeexpr.c1893 Expression *ethis = ((DelegateExp *)newval)->e1; in isCtfeValueValid() local
1894 return (ethis->op == TOKstructliteral || in isCtfeValueValid()
1895 ethis->op == TOKclassreference || in isCtfeValueValid()
1896 (ethis->op == TOKvar && ((VarExp *)ethis)->var == ((DelegateExp *)newval)->func)); in isCtfeValueValid()
H A Dexpressionsem.c2743 Expression *ethis = NULL; in visit() local
2957 ethis = de->e1; in visit()
3156 ethis = ue->e1; in visit()
3160 … if (global.params.vsafe && checkParamArgumentEscape(sc, exp->f, Id::This, ethis, false)) in visit()
3332 if (ethis) in visit()
3333 exp->e1 = new DotVarExp(exp->loc, ethis, exp->f, false); in visit()
3558 ethis = NULL; in visit()
3787 Expression *ethis = new ThisExp(exp->loc); in visit() local
3788 Expression *e = new DelegateExp(exp->loc, ethis, f, ve->hasOverloads); in visit()
H A Dexpression.h61 Expression *build_overload(Loc loc, Scope *sc, Expression *ethis, Expression *earg, Dsymbol *d);
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dopover.d1412 Expression build_overload(const ref Loc loc, Scope* sc, Expression ethis, Expression earg, Dsymbol … in build_overload() argument
1418 e = new DotVarExp(loc, ethis, decl, false); in build_overload()
1420 e = new DotIdExp(loc, ethis, d.ident); in build_overload()
1573 Expression ethis; in inferApplyArgTypes() local
1576 ethis = fes.aggr; in inferApplyArgTypes()
1580 ethis = fes.aggr.isDelegateExp().e1; in inferApplyArgTypes()
1589 if (auto fdapply = findBestOpApplyMatch(ethis, fd, fes.parameters)) in inferApplyArgTypes()
1708 private FuncDeclaration findBestOpApplyMatch(Expression ethis, FuncDeclaration fstart, Parameters* … in findBestOpApplyMatch() argument
1710 MOD mod = ethis.type.mod; in findBestOpApplyMatch()
1772 ….error(ethis.loc, "`%s.%s` matches more than one declaration:\n`%s`: `%s`\nand:\n`%s`: `%s… in findBestOpApplyMatch()
[all …]
H A Descape.d57 Expression ethis, Expressions* arguments, bool gag) in checkMutableArguments() argument
61 if (log && ethis) printf("ethis: `%s`\n", ethis.toChars()); in checkMutableArguments()
69 const len = arguments.length + (ethis !is null) + outerVars.length; in checkMutableArguments()
104 else if (ethis) in checkMutableArguments()
110 arg = ethis; in checkMutableArguments()
113 assert(ethis); in checkMutableArguments()
H A Dctfeexpr.d1877 Expression ethis = newval.isDelegateExp().e1; in isCtfeValueValid() local
1878 …return (ethis.op == EXP.structLiteral || ethis.op == EXP.classReference || ethis.op == EXP.variabl… in isCtfeValueValid()
H A Dexpressionsem.d1678 TypeFunction tf, Expression ethis, Type tthis, Expressions* arguments, FuncDeclaration fd, in functionParameters() argument
1944 ? ethis : null; in functionParameters()
2403 err |= checkMutableArguments(sc, fd, tf, ethis, arguments, false); in functionParameters()
4204 Expression ethis = null; in visit() local
4408 ethis = de.e1; in visit()
4689 ethis = ue.e1; in visit()
4693 …eDIP1000 == FeatureState.enabled && checkParamArgumentEscape(sc, exp.f, null, ethis, false, false)) in visit()
4856 if (ethis) in visit()
4857 exp.e1 = new DotVarExp(exp.loc, ethis, exp.f, false); in visit()
5085 ethis = null; in visit()
[all …]