Home
last modified time | relevance | path

Searched refs:mutableOf (Results 1 – 25 of 34) sorted by relevance

12

/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dimportc.d310 t1 = t1.mutableOf(); in cFuncEquivalence()
311 t2 = t2.mutableOf(); in cFuncEquivalence()
H A Dclone.d1273 ex = new CastExp(loc, ex, sf.type.mutableOf().pointerTo()); in buildPostBlit()
1352 ex = new CastExp(loc, ex, structField.type.mutableOf().pointerTo()); in buildPostBlit()
1600 if (param.type.mutableOf().unSharedOf() == sd.type.mutableOf().unSharedOf()) in needCopyCtor()
H A Dmtype.d1167 final Type mutableOf() in mutableOf() function
1782 t = unSharedOf().mutableOf(); in castMod()
1798 t = mutableOf().sharedOf(); in castMod()
2330 t = t.mutableOf(); in substWildTo()
2344 Type t = mutableOf().unSharedOf(); in unqualify()
2381 return cast(inout(Type)) unqualThis.mutableOf(); in toHeadMutable()
3016 t.next = next.mutableOf(); in makeMutable()
4556 auto at = arg.type.mutableOf().toChars(); in getParamError()
4557 bool qual = !arg.type.equals(par.type) && strcmp(at, par.type.mutableOf().toChars()) == 0; in getParamError()
H A Ddtemplate.d1658 tt = tt.mutableOf(); in deduceFunctionTemplateMatch()
3313 *at = t.mutableOf().unSharedOf(); in deduceTypeHelper()
3323 *at = t.mutableOf(); in deduceTypeHelper()
3341 *at = t.mutableOf(); in deduceTypeHelper()
3375 *at = t.unSharedOf().mutableOf(); in deduceTypeHelper()
3381 *at = t.unSharedOf().mutableOf(); in deduceTypeHelper()
3656 (*dedtypes)[i] = at.constOf().mutableOf(); in visit()
3662 (*dedtypes)[i] = tt.constOf().mutableOf(); in visit()
4591 tt = e.type.mutableOf(); in visit()
4629 tt = tt.mutableOf().addMod(MODmerge(tt.mod, at.mod)); in visit()
H A Doptimize.d840 if (e.e1.type.mutableOf().unSharedOf().equals(e.to.mutableOf().unSharedOf())) in Expression_optimize()
H A Ddeclaration.d1446 e.type = e.type.mutableOf(); in callScopeDtor()
1500 … e.type = e.type.mutableOf().unSharedOf(); // Hack for mutable ctor on immutable instances in callScopeDtor()
H A Dmtype.h266 Type *mutableOf();
H A Dcppmangle.d1391 auto prev = this.context.push(this.context.res.asType().mutableOf().unSharedOf()); in headOfType()
1393 t.mutableOf().unSharedOf().accept(this); in headOfType()
H A Dexpressionsem.d1963 … const typesMatch = arg.type.mutableOf().unSharedOf().equals(tprm.mutableOf().unSharedOf()); in functionParameters()
3750 … (sd.hasRegularCtor() || (sd.ctor && (*exp.arguments)[0].type.mutableOf() == sd.type.mutableOf()))) in visit()
4505 (*exp.arguments)[0].type.mutableOf != sd.type.mutableOf()) in visit()
9192 e.type = e.type.mutableOf(); in visit()
9863 exp.e1.type = exp.e1.type.nextOf().mutableOf().arrayOf(); in visit()
9928 ae.e1.type.nextOf.mutableOf.equals(ae.e2.type.nextOf.mutableOf); in visit()
10636 Type t1 = tb1next.mutableOf().constOf().arrayOf(); in visit()
10637 Type t2 = tb2next.mutableOf().constOf().arrayOf(); in visit()
H A Dctfeexpr.d1598 auto match = explicitCast ? tclass.implicitConvToWithoutAliasThis(to.mutableOf())
1599 : tclass.implicitConvTo(to.mutableOf());
H A Ddsymbolsem.d4055 …if (param.storageClass & STC.ref_ && param.type.mutableOf().unSharedOf() == sd.type.mutableOf().un… in visit()
4077 …if (!(param.storageClass & STC.ref_) && param.type.mutableOf().unSharedOf() == sd.type.mutableOf()… in visit()
H A Dtypesem.d205 const p = mt.mutableOf().unSharedOf().toChars();
688 mtype.basetype = mtype.basetype.toBasetype().mutableOf(); in typeSemantic()
938 mtype.index = mtype.index.constOf().mutableOf(); in typeSemantic()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Darrayop.c204 buf.writestring(e->type->toBasetype()->nextOf()->toBasetype()->mutableOf()->deco); in arrayOp()
380 buf->writestring(t1->nextOf()->mutableOf()->deco); in buildArrayIdent()
391 buf->writestring(t2->nextOf()->mutableOf()->deco); in buildArrayIdent()
H A Dclone.c832 ex = new CastExp(loc, ex, v->type->mutableOf()->pointerTo()); in buildPostBlit()
884 ex = new CastExp(loc, ex, v->type->mutableOf()->pointerTo()); in buildPostBlit()
1030 ex = new CastExp(loc, ex, v->type->mutableOf()->pointerTo()); in buildDtor()
H A Doptimize.c633 if (e->to->mutableOf()->constOf()->equals(e->e1->type->mutableOf()->constOf())) in Expression_optimize()
H A Dmtype.c398 Type *Type::mutableOf() in mutableOf() function
998 t = unSharedOf()->mutableOf(); in castMod()
1014 t = mutableOf()->sharedOf(); in castMod()
1879 Type *t = mutableOf()->unSharedOf(); in unqualify()
1978 t = t->mutableOf(); in substWildTo()
2042 return mutableOf(); in toHeadMutable()
2830 t->next = next->mutableOf(); in makeMutable()
3728 basetype = basetype->toBasetype()->mutableOf(); in semantic()
4655 index = index->constOf()->mutableOf(); in semantic()
7059 const char *p = mutableOf()->unSharedOf()->toChars(); in resolveHelper()
H A Dcppmangle.c759 t->mutableOf()->unSharedOf()->accept(this); in headOfType()
H A Ddtemplate.c1401 tt = tt->mutableOf(); in deduceFunctionTemplateMatch()
2973 *at = t->mutableOf()->unSharedOf(); in deduceTypeHelper()
2998 *at = t->mutableOf(); in deduceTypeHelper()
3031 *at = t->unSharedOf()->mutableOf(); in deduceTypeHelper()
3038 *at = t->unSharedOf()->mutableOf(); in deduceTypeHelper()
3309 (*dedtypes)[i] = at->constOf()->mutableOf(); in deduceType()
3315 (*dedtypes)[i] = tt->constOf()->mutableOf(); in deduceType()
4239 tt = tt->mutableOf()->addMod(MODmerge(tt->mod, at->mod)); in deduceType()
H A Dmtype.h279 Type *mutableOf();
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dd-target.cc386 Type *tb = t->toBasetype ()->mutableOf (); in cppParameterType()
H A Dtypeinfo.cc553 Type *tm = d->tinfo->mutableOf (); in visit()
570 Type *tm = d->tinfo->mutableOf (); in visit()
604 Type *tm = d->tinfo->mutableOf (); in visit()
H A Dexpr.cc970 Type *tm = etype->unSharedOf ()->mutableOf (); in visit()
1241 tinfo = build_typeinfo (e->loc, tb1->unSharedOf ()->mutableOf ()); in visit()
2814 Type *tb = e->type->toBasetype ()->mutableOf (); in visit()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dtypeinfo.cc573 Type *tm = d->tinfo->mutableOf (); in visit()
590 Type *tm = d->tinfo->mutableOf (); in visit()
624 Type *tm = d->tinfo->mutableOf (); in visit()
H A Dd-target.cc395 Type *tb = type->toBasetype ()->mutableOf (); in parameterType()
H A Dexpr.cc959 Type *tm = etype->unSharedOf ()->mutableOf (); in visit()
1246 tinfo = build_typeinfo (e, tb1->unSharedOf ()->mutableOf ()); in visit()
2771 Type *tb = e->type->toBasetype ()->mutableOf (); in visit()

12