Searched refs:needThis (Results 1 - 25 of 37) sorted by relevance

12

/netbsd-current/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Daliasthis.c37 if (tthis && ad->aliasthis->needThis())
H A Ddeclaration.h183 bool needThis();
275 bool needThis();
652 bool needThis();
H A Ddsymbol.h224 virtual bool needThis(); // need a 'this' pointer?
H A Ddmangle.c372 if (fd->needThis() || fd->isNested())
H A Dfunc.c729 if (f->isreturn && !needThis() && !isNested())
3190 if (f->needThis())
3197 if (f->needThis())
3326 if (needThis() && g->needThis() && tf->mod != tg->mod)
3511 if ((flags & 2) && !tthis && m.lastf->needThis())
3833 if (purity > PUREweak && needThis())
4128 bool FuncDeclaration::needThis() function in class:FuncDeclaration
4130 //printf("FuncDeclaration::needThis() '%s'\n", toChars());
H A Ddeclaration.c257 bool TupleDeclaration::needThis() function in class:TupleDeclaration
259 //printf("TupleDeclaration::needThis(%s)\n", toChars());
270 if (d && d->needThis())
1832 bool VarDeclaration::needThis() function in class:VarDeclaration
1834 //printf("VarDeclaration::needThis(%s, x%x)\n", toChars(), storage_class);
H A Dexpressionsem.c820 sc->func && sc->func->needThis() && ve->var->toParent2()->isAggregateDeclaration())
2691 if (f->needThis())
3106 v->needThis())
3147 if (exp->f->needThis())
3182 if (!exp->f->needThis())
3380 if (exp->f->needThis())
3405 if (exp->f->needThis())
3525 if (exp->f->needThis())
3705 if (f->needThis())
3780 if (f->needThis())
[all...]
H A Ddcast.c950 if ((t->ty == Tdelegate && (f->needThis() || f->isNested())) ||
951 (t->ty == Tpointer && !(f->needThis() || f->isNested())))
2159 if (f->needThis() && hasThis(sc))
2169 else if (f->needThis())
H A Ddsymbol.c682 bool Dsymbol::needThis() function in class:Dsymbol
H A Ddtemplate.c2200 Type *tthis_fd = fd->needThis() ? tthis : NULL;
2404 Type *tthis_fd = fd->needThis() && !fd->isCtorDeclaration() ? tthis : NULL;
2460 Type *tthis_fd = fd->needThis() ? tthis : NULL;
2609 p.tthis_best = m->lastf->needThis() && !m->lastf->isCtorDeclaration() ? tthis : NULL;
2724 //printf("fd->needThis() = %d\n", fd->needThis());
5515 if (!f || !f->fbody || f->needThis())
H A Dexpression.c623 (sc->intypeof || !((VarExp *)e1)->var->needThis()))
1409 bool isCtorCall = fd && fd->needThis() && fd->isCtorDeclaration();
3203 //printf("s = '%s', s->kind = '%s', s->needThis() = %p\n", s->toChars(), s->kind(), s->needThis());
3246 if (v->needThis() && hasThis(sc))
3318 if (tup->needThis() && hasThis(sc))
4351 if (v->needThis())
/netbsd-current/external/gpl3/gcc/dist/gcc/d/dmd/
H A Daliasthis.d101 if (tthis && ad.aliasthis.sym.needThis())
H A Ddeclaration.h176 bool needThis();
277 bool needThis();
675 bool needThis();
H A Ddsymbol.h240 virtual bool needThis(); // need a 'this' pointer?
H A Dvisitor.d182 if (!e.func.isNested() || e.func.needThis())
H A Dfunc.d887 if (f.needThis())
894 if (f.needThis())
1019 if (needThis() && g.needThis() && tf.mod != tg.mod)
1367 if (purity > PURE.weak && needThis())
1801 override final bool needThis()
1803 //printf("FuncDeclaration::needThis() '%s'\n", toChars());
3159 if ((flags & FuncResolveFlag.overloadOnly) && !tthis && m.lastf.needThis())
H A Ddeclaration.d656 override bool needThis()
658 //printf("TupleDeclaration::needThis(%s)\n", toChars());
659 return isexp ? foreachVar((s) { return s.needThis(); }) != 0 : false;
1266 override final bool needThis()
1268 //printf("VarDeclaration::needThis(%s, x%x)\n", toChars(), storage_class);
H A Dexpressionsem.d796 else if (e1.isVarExp() && e1.type && e1.type.isTypeFunction() && (sc.intypeof || !e1.isVarExp().var.needThis()))
847 //printf("s = '%s', s.kind = '%s', s.needThis() = %p\n", s.toChars(), s.kind(), s.needThis());
892 // that could be forward referenced. This is needed for 'v.needThis()' to work
900 if (v.needThis() && hasThis(sc))
971 if (tup.needThis() && hasThis(sc))
1723 const isCtorCall = fd && fd.needThis() && fd.isCtorDeclaration();
3266 sc.func && sc.func.needThis && ve.var.toParent2().isAggregateDeclaration())
4680 if (exp.f.needThis())
4710 if (!exp.f.needThis())
[all...]
H A Dtraits.d742 return isFuncX(f => !f.needThis() && !f.isNested());
1350 bool value = target.isReturnOnStack(tf, fd && fd.needThis());
H A Dtypesem.d308 if (intypeid && !t && sm && sm.needThis())
4087 if (d.needThis() && sc.intypeof != 1)
4102 if (d.isVarDeclaration() && d.needThis())
4513 else if (d.needThis() && sc.intypeof != 1)
4600 if (d.isVarDeclaration() && d.needThis())
H A Ddcast.d1024 if ((tb.ty == Tdelegate && (f.needThis() || f.isNested())) ||
1025 (tb.ty == Tpointer && !(f.needThis() || f.isNested())))
2407 if (f.needThis() && hasThis(sc))
2412 else if (f.needThis())
H A Ddmangle.d507 if (fd.needThis() || fd.isNested())
H A Ddtemplate.d2447 //printf("fd.needThis() = %d\n", fd.needThis());
2677 Type tthis_fd = fd.needThis() ? tthis : null;
2921 Type tthis_fd = fd.needThis() && !fd.isCtorDeclaration() ? tthis : null;
2978 Type tthis_fd = fd.needThis() ? tthis : null;
3116 tthis_best = m.lastf.needThis() && !m.lastf.isCtorDeclaration() ? tthis : null;
7999 if (!f || !f.fbody || f.needThis())
/netbsd-current/external/gpl3/gcc.old/dist/gcc/d/
H A Dexpr.cc1742 gcc_assert (var->isFuncDeclaration () && !var->needThis ());
1844 else if (fd->needThis ())
2213 if (e->var->needThis ())
/netbsd-current/external/gpl3/gcc/dist/gcc/d/
H A Dexpr.cc1652 gcc_assert (var->isFuncDeclaration () && !var->needThis ());
1766 else if (fd->needThis ())
2143 if (e->var->needThis ())

Completed in 512 milliseconds

12