Home
last modified time | relevance | path

Searched refs:needThis (Results 1 – 25 of 38) sorted by relevance

12

/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Ddeclaration.h176 bool needThis();
277 bool needThis();
675 bool needThis();
H A Daliasthis.d101 if (tthis && ad.aliasthis.sym.needThis())
H A Dfunc.d887 if (f.needThis()) in overloadModMatch()
894 if (f.needThis()) in overloadModMatch()
1019 if (needThis() && g.needThis() && tf.mod != tg.mod) in leastAsSpecialized()
1367 if (purity > PURE.weak && needThis()) in isPure()
1801 override final bool needThis() in needThis() function
3159 if ((flags & FuncResolveFlag.overloadOnly) && !tthis && m.lastf.needThis()) in resolveFuncCall()
H A Ddsymbol.h240 virtual bool needThis(); // need a 'this' pointer?
H A Dvisitor.d182 if (!e.func.isNested() || e.func.needThis())
H A Ddeclaration.d656 override bool needThis() in needThis() function
659 return isexp ? foreachVar((s) { return s.needThis(); }) != 0 : false; in needThis()
1266 override final bool needThis() in needThis() function
H A Dexpressionsem.d796 …sVarExp() && e1.type && e1.type.isTypeFunction() && (sc.intypeof || !e1.isVarExp().var.needThis())) in resolvePropertiesOnly()
900 if (v.needThis() && hasThis(sc)) in symbolToExp()
971 if (tup.needThis() && hasThis(sc)) in symbolToExp()
1723 const isCtorCall = fd && fd.needThis() && fd.isCtorDeclaration(); in functionParameters()
3266 sc.func && sc.func.needThis && ve.var.toParent2().isAggregateDeclaration()) in visit()
4680 if (exp.f.needThis()) in visit()
4710 if (!exp.f.needThis()) in visit()
4903 if (exp.f.needThis()) in visit()
4927 if (exp.f.needThis()) in visit()
5044 if (exp.f.needThis()) in visit()
[all …]
H A Dtypesem.d308 if (intypeid && !t && sm && sm.needThis())
4087 if (d.needThis() && sc.intypeof != 1) in dotExp()
4102 if (d.isVarDeclaration() && d.needThis()) in dotExp()
4513 else if (d.needThis() && sc.intypeof != 1) in dotExp()
4600 if (d.isVarDeclaration() && d.needThis()) in dotExp()
H A Dtraits.d742 return isFuncX(f => !f.needThis() && !f.isNested()); in semanticTraits()
1350 bool value = target.isReturnOnStack(tf, fd && fd.needThis()); in semanticTraits()
H A Ddcast.d1024 if ((tb.ty == Tdelegate && (f.needThis() || f.isNested())) || in implicitConvTo()
1025 (tb.ty == Tpointer && !(f.needThis() || f.isNested()))) in implicitConvTo()
2407 if (f.needThis() && hasThis(sc)) in visitSymOff()
2412 else if (f.needThis()) in visitSymOff()
H A Ddmangle.d507 if (fd.needThis() || fd.isNested()) in mangleFunc()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Daliasthis.c37 if (tthis && ad->aliasthis->needThis()) in resolveAliasThis()
H A Ddeclaration.h183 bool needThis();
275 bool needThis();
652 bool needThis();
H A Dfunc.c729 if (f->isreturn && !needThis() && !isNested()) in semantic()
3190 if (f->needThis()) in overloadModMatch()
3197 if (f->needThis()) in overloadModMatch()
3326 if (needThis() && g->needThis() && tf->mod != tg->mod) in leastAsSpecialized()
3511 if ((flags & 2) && !tthis && m.lastf->needThis()) in resolveFuncCall()
3833 if (purity > PUREweak && needThis()) in isPure()
4128 bool FuncDeclaration::needThis() in needThis() function
H A Ddsymbol.h224 virtual bool needThis(); // need a 'this' pointer?
H A Ddeclaration.c257 bool TupleDeclaration::needThis() in needThis() function
270 if (d && d->needThis()) in needThis()
1832 bool VarDeclaration::needThis() in needThis() function
H A Dexpressionsem.c820 sc->func && sc->func->needThis() && ve->var->toParent2()->isAggregateDeclaration()) in visit()
2691 if (f->needThis()) in visit()
3106 v->needThis()) in visit()
3147 if (exp->f->needThis()) in visit()
3182 if (!exp->f->needThis()) in visit()
3380 if (exp->f->needThis()) in visit()
3405 if (exp->f->needThis()) in visit()
3525 if (exp->f->needThis()) in visit()
3705 if (f->needThis()) in visit()
3780 if (f->needThis()) in visit()
[all …]
H A Ddmangle.c372 if (fd->needThis() || fd->isNested()) in mangleFunc()
H A Ddcast.c950 if ((t->ty == Tdelegate && (f->needThis() || f->isNested())) || in implicitConvTo()
951 (t->ty == Tpointer && !(f->needThis() || f->isNested()))) in implicitConvTo()
2159 if (f->needThis() && hasThis(sc)) in castTo()
2169 else if (f->needThis()) in castTo()
H A Dexpression.c623 (sc->intypeof || !((VarExp *)e1)->var->needThis())) in resolvePropertiesOnly()
1409 bool isCtorCall = fd && fd->needThis() && fd->isCtorDeclaration(); in functionParameters()
3246 if (v->needThis() && hasThis(sc)) in resolve()
3318 if (tup->needThis() && hasThis(sc)) in resolve()
4351 if (v->needThis()) in SymOffExp()
H A Dmtype.c1237 if (d->isVarDeclaration() && d->needThis()) in aliasthisOf()
6906 if (intypeid && !t && sm && sm->needThis()) in resolveHelper()
8064 if (d->needThis() && sc->intypeof != 1) in dotExp()
8080 if (d->isVarDeclaration() && d->needThis()) in dotExp()
8768 if (d->needThis() && sc->intypeof != 1) in dotExp()
8836 if (d->isVarDeclaration() && d->needThis()) in dotExp()
H A Ddsymbol.c682 bool Dsymbol::needThis() in needThis() function
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dexpr.cc1652 gcc_assert (var->isFuncDeclaration () && !var->needThis ()); in visit()
1766 else if (fd->needThis ()) in visit()
2143 if (e->var->needThis ()) in visit()
H A DChangeLog85 * dmd/declaration.d (TupleDeclaration::needThis): Likewise.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dexpr.cc1742 gcc_assert (var->isFuncDeclaration () && !var->needThis ()); in visit()
1844 else if (fd->needThis ()) in visit()
2213 if (e->var->needThis ()) in visit()

12