HomeSort by: relevance | last modified time | path
    Searched refs:vthis (Results 1 - 17 of 17) sorted by relevancy

  /src/external/gpl3/gcc.old/dist/gcc/d/dmd/
aggregate.d 125 VarDeclaration vthis; /// 'this' parameter if this aggregate is nested
626 /* Append vthis field (this.tupleof[$-1]) to make this aggregate type nested.
678 assert(!vthis);
679 vthis = new ThisDeclaration(loc, t);
680 //vthis.storage_class |= STC.ref_;
682 // Emulate vthis.addMember()
683 members.push(vthis);
685 // Emulate vthis.dsymbolSemantic()
686 vthis.storage_class |= STC.field;
687 vthis.parent = this
    [all...]
func.d 281 VarDeclaration vthis; /// 'this' parameter (member and nested)
525 vthis = null;
544 vthis = new VarDeclaration(loc, tthis, dualCtx ? Id.this2 : Id.capture, null);
545 vthis.storage_class |= STC.parameter | STC.nodtor;
550 vthis = new ThisDeclaration(loc, thandle);
551 vthis.storage_class |= STC.parameter;
554 vthis.storage_class |= STC.ref_;
561 vthis.storage_class |= STC.return_;
563 vthis.storage_class |= STC.scope_;
565 vthis.storage_class |= STC.returnScope
    [all...]
semantic3.d 396 //printf("[%s] ad = %p vthis = %p\n", loc.toChars(), ad, vthis);
397 //if (vthis) printf("\tvthis.type = %s\n", vthis.type.toChars());
539 Expression e = addInvariant(funcdecl.isThis(), funcdecl.vthis);
548 Expression e = addInvariant(funcdecl.isThis(), funcdecl.vthis);
717 Type tthis = ad2.type.addMod(funcdecl.vthis.type.mod);
1197 vsync = new VarExp(funcdecl.loc, funcdecl.vthis);
1300 size_t dim = (funcdecl.vthis !is null) + (funcdecl.parameters ? funcdecl.parameters.dim : 0);
1307 if (funcdecl.vthis)
    [all...]
aggregate.h 94 VarDeclaration *vthis; // 'this' parameter if this aggregate is nested member in class:AggregateDeclaration
typesem.d 4327 if (ident == Id.outer && mt.sym.vthis)
4329 if (mt.sym.vthis.semanticRun == PASS.initial)
4330 mt.sym.vthis.dsymbolSemantic(null);
4334 auto dve = new DotVarExp(e.loc, e, mt.sym.vthis);
4356 ve.var = fd.vthis;
4357 const nestedError = fd.vthis.checkNestedReference(sc, e.loc);
4360 ve.type = cdp.type.addMod(fd.vthis.type.mod).addMod(e.type.mod);
4367 auto dve = new DotVarExp(e.loc, e, mt.sym.vthis);
4368 dve.type = mt.sym.vthis.type.addMod(e.type.mod);
4529 e1 = new VarExp(e.loc, f.vthis);
    [all...]
escape.d 607 if (va == fd.vthis) // `this` of a non-static member function is considered to be the first parameter
609 if (!fd.vthis && fd.parameters && fd.parameters.length && (*fd.parameters)[0] == va) // va is first parameter
1321 if (!refs && sc.func.vthis == v)
1418 if (v == fd.vthis)
dinterpret.d 558 if (fd.vthis && thisarg)
560 ctfeGlobals.stack.push(fd.vthis);
561 setValue(fd.vthis, thisarg);
691 if (tf.isref && e.op == EXP.variable && e.isVarExp().var == fd.vthis)
698 if (ve && ve.var == fd.vthis)
1763 if (istate && istate.fd.vthis)
1765 result = ctfeEmplaceExp!VarExp(e.loc, istate.fd.vthis);
2004 if (ve.var == istate.fd.vthis)
2663 auto vthis = i == 0 ? e.sd.vthis : e.sd.vthis2
    [all...]
declaration.d 382 VarDeclaration vthis = e1.isThisExp().var;
385 if (scx.func == vthis.parent && (scx.flags & SCOPE.contract))
declaration.h 554 VarDeclaration *vthis; // 'this' parameter (member and nested) member in class:FuncDeclaration
expressionsem.d 1054 e1 = new VarExp(loc, f.vthis);
1086 auto vthis = tcd.followInstantiationContext(ad) ? tcd.vthis2 : tcd.vthis;
1087 e1 = new DotVarExp(loc, e1, vthis);
1088 e1.type = vthis.type;
2848 assert(fd.vthis);
2849 e.var = fd.vthis;
2915 e.var = fd.vthis;
4105 exp.fd.vthis = null;
13119 if (f.vthis)
    [all...]
opover.d 852 * one of the members, hence the `ad1.fields.dim == 2 && ad1.vthis`
867 if (ad.fields.dim == 1 || (ad.fields.dim == 2 && ad.vthis))
dsymbolsem.d 5110 cldec.vthis = cldec.baseClass.vthis;
5124 if (cldec.vthis) // if inheriting from nested class
dtemplate.d 6721 fe.fd.vthis = null;
expression.d 195 assert(fd.vthis);
  /src/external/gpl3/gcc.old/dist/gcc/d/
d-codegen.cc 2347 which is to be used for the `vthis' context parameter for TYPE.
2443 if (!thisfd->vthis)
2466 gcc_assert (fdp->isNested () || fdp->vthis);
2483 if (!adp || !adp->isNested () || !adp->vthis)
2576 return get_decl_tree (fd->vthis);
2578 return convert_expr (get_decl_tree (fd->vthis),
2643 if (fdo->vthis && fdo->vthis->type != Type::tvoidptr)
2644 vthis_value = get_decl_tree (fdo->vthis);
2672 if (fd->vthis)
    [all...]
decl.cc 158 For nested functions, D still generates a vthis, but it
160 if (decl->vthis)
162 tree parm_decl = get_symbol_decl (decl->vthis);
978 if (d->vthis)
979 d_function_chain->static_chain = get_symbol_decl (d->vthis);
984 tree this_tree = get_symbol_decl (d->vthis);
989 tree vthis_field = get_symbol_decl (ad->vthis);
1042 if (d->vthis && d->vthis->type == Type::tvoidptr)
1046 tree parm_decl = get_symbol_decl (d->vthis);
    [all...]
expr.cc 1093 tree field = get_symbol_decl (sd->vthis);
2068 /* This check is for lambda's, remove `vthis' as function isn't nested. */
2072 e->fd->vthis = NULL;
2163 fld->vthis = NULL;
2254 gcc_assert (fd && fd->vthis);
2255 result = get_decl_tree (fd->vthis);
2303 tree field = get_symbol_decl (cd->vthis);
2328 /* Generate: (new())->vthis = this; */
2377 tree field = get_symbol_decl (sd->vthis);
2891 tree field = get_symbol_decl (e->sd->vthis);
    [all...]

Completed in 61 milliseconds