Home
last modified time | relevance | path

Searched refs:TypeStruct (Results 1 – 25 of 79) sorted by relevance

1234

/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Ddstruct.c93 void visit(TypeStruct *t) in semanticTypeInfo()
385 if (ad == ((TypeStruct *)tv)->sym) in determineFields()
999 type = new TypeStruct(this); in StructDeclaration()
1053 if (type->ty == Tstruct && ((TypeStruct *)type)->sym != this) in semantic()
1055 TemplateInstance *ti = ((TypeStruct *)type)->sym->isInstantiated(); in semantic()
1057 ((TypeStruct *)type)->sym = this; in semantic()
1145 StructDeclaration *sd = ((TypeStruct *)tb)->sym; in semantic()
1209 if (type->ty == Tstruct && ((TypeStruct *)type)->sym != this) in semantic()
1212 StructDeclaration *sd = ((TypeStruct *)type)->sym; in semantic()
1448 TypeStruct *ts = (TypeStruct *)tv; in isPOD()
H A Dcanthrow.c140 ad = ((TypeStruct *)tb)->sym; in canThrow()
148 ad = ((TypeStruct *)tv)->sym; in canThrow()
210 StructDeclaration *sd = ((TypeStruct *)tv)->sym; in canThrow()
H A Dsafe.c145 if ((ttobn->ty == Tstruct && !((TypeStruct *)ttobn)->sym->members) || in isSafeCast()
146 (tfromn->ty == Tstruct && !((TypeStruct *)tfromn)->sym->members)) in isSafeCast()
H A Daliasthis.c134 if (ad->type->ty == Tstruct && ((TypeStruct *)ad->type)->sym != ad) in semantic()
136 AggregateDeclaration *ad2 = ((TypeStruct *)ad->type)->sym; in semantic()
H A Dclone.c166 TypeStruct *ts = (TypeStruct *)tv; in needOpAssign()
234 StructDeclaration *sdv = ((TypeStruct *)tv)->sym; in buildOpAssign()
375 TypeStruct *ts = (TypeStruct *)tvbase; in needOpEquals()
680 TypeStruct *ts = (TypeStruct *)tvbase; in needToHash()
807 StructDeclaration *sdv = ((TypeStruct *)tv)->sym; in buildPostBlit()
1007 StructDeclaration *sdv = ((TypeStruct *)tv)->sym; in buildDtor()
H A Dcond.c194 static TypeStruct *createTupleType(Loc loc, Expressions *e) in createTupleType()
203 TypeStruct *r = (TypeStruct *)sdecl->type; in createTupleType()
220 static Expression *createTuple(Loc loc, TypeStruct *type, Expressions *e) in createTuple()
267 TypeStruct *tplty = NULL; in lowerNonArrayAggregate()
H A Ddeclaration.c64 result |= checkFrameAccess(loc, sc, ((TypeStruct *)tb)->sym);
1003 TypeStruct *ts = (TypeStruct *)tb; in semantic()
1239 if (tbn->ty == Tstruct && ((TypeStruct *)tbn)->sym->noDefaultCtor) in semantic()
1314 ((TypeStruct *)tbn)->sym->noDefaultCtor) in semantic()
1395 checkFrameAccess(loc, sc, ((TypeStruct *)tbn)->sym); in semantic()
1403 if (tv->ty == Tstruct && ((TypeStruct *)tv)->sym->zeroInit == 1) in semantic()
1572 StructDeclaration *sd = ((TypeStruct *)ti)->sym; in semantic()
1768 TypeStruct *ts = (TypeStruct *)tv; in setFieldOffset()
2118 StructDeclaration *sd = ((TypeStruct *)tv)->sym; in callScopeDtor()
H A Dmtype.c197 sizeTy[Tstruct] = sizeof(TypeStruct); in _init()
347 if (t->ty == Tstruct) ((TypeStruct *)t)->att = RECfwdref; in nullAttributes()
1292 pflag = &((TypeStruct *)tb)->att; in checkAliasThisRec()
4153 if ((tbx->ty == Tstruct && !((TypeStruct *)tbx)->sym->members) || in semantic()
4165 (tbn->ty == Tstruct && (((TypeStruct *)tbn)->sym->sizeok == SIZEOKdone)) || in semantic()
4678 StructDeclaration *sd = ((TypeStruct *)tbase)->sym; in semantic()
5282 … if (((TypeStruct *)tp1)->sym == ((TypeStruct *)tp2)->sym && MODimplicitConv(tp2->mod, tp1->mod)) in covariant()
5352 if (((TypeStruct *)t1n)->sym == ((TypeStruct *)t2n)->sym && in covariant()
5575 if ((tb2->ty == Tstruct && !((TypeStruct *)tb2)->sym->members) || in semantic()
5639 if (tv->ty == Tstruct && ((TypeStruct *)tv)->sym->noDefaultCtor) in semantic()
[all …]
H A Dnogc.c151 ad = ((TypeStruct *)tb)->sym; in visit()
H A Ddcast.c515 ((TypeStruct *)e->type)->sym == ((TypeStruct *)t)->sym) in implicitConvTo()
1178 StructDeclaration *sd = ((TypeStruct *)ntb)->sym; in implicitConvTo()
2965 else if (t1->ty == Tstruct && ((TypeStruct *)t1)->sym->aliasthis) in typeMerge()
2976 else if (t2->ty == Tstruct && ((TypeStruct *)t2)->sym->aliasthis) in typeMerge()
3004 TypeStruct *ts1 = (TypeStruct *)t1; in typeMerge()
3005 TypeStruct *ts2 = (TypeStruct *)t2; in typeMerge()
3060 if (t1->ty == Tstruct && ((TypeStruct *)t1)->sym->aliasthis) in typeMerge()
3072 if (t2->ty == Tstruct && ((TypeStruct *)t2)->sym->aliasthis) in typeMerge()
H A Dopover.c168 return ((TypeStruct *)t)->sym; in isAggregate()
906 return ((TypeStruct *)t)->sym->hasIdentityEquals; in op_overload()
1026 StructDeclaration *sd = ((TypeStruct *)t1)->sym; in op_overload()
1027 if (sd != ((TypeStruct *)t2)->sym) in op_overload()
1634 ad = ((TypeStruct *)tab)->sym; in inferAggregate()
1807 ad = ((TypeStruct *)tab)->sym; in inferApplyArgTypes()
H A Dmtype.h774 class TypeStruct : public Type
781 TypeStruct(StructDeclaration *sym);
782 static TypeStruct *create(StructDeclaration *sym);
H A Dcppmangle.c358 Dsymbol *s = ((TypeStruct*)t)->toDsymbol(NULL); in isIdent_char()
990 void visit(TypeStruct *t) in visit()
H A Dargtypes.c312 void visit(TypeStruct *t) in toArgTypes()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dlambdacomp.d407 if (is(T == TypeStruct) || is(T == TypeClass))
417 override void visit(TypeStruct t) in visit()
422 if (!checkTemplateInstance!TypeStruct(t)) in visit()
451 auto ty = cast(TypeStruct)e.stype; in visit()
H A Ddstruct.d95 void visitStruct(TypeStruct t) in semanticTypeInfo()
227 type = new TypeStruct(this); in this()
431 TypeStruct ts = cast(TypeStruct)tv; in isPOD()
H A Dsafe.d179 if (ttobn.ty == Tstruct && !(cast(TypeStruct)ttobn).sym.members || in isSafeCast()
180 tfromn.ty == Tstruct && !(cast(TypeStruct)tfromn).sym.members) in isSafeCast()
H A Dclone.d179 TypeStruct ts = cast(TypeStruct)tv; in needOpAssign()
285 StructDeclaration sdv = (cast(TypeStruct)tv).sym; in buildOpAssign()
423 TypeStruct ts = cast(TypeStruct)tvbase; in needOpEquals()
749 TypeStruct ts = cast(TypeStruct)tvbase; in needToHash()
890 auto sdv = (cast(TypeStruct)tv).sym; in buildDtors()
1247 auto sdv = (cast(TypeStruct)tv).sym; in buildPostBlit()
1278 auto sfv = (cast(TypeStruct)sf.type.baseElemOf()).sym; in buildPostBlit()
H A Dcond.d250 private extern(D) TypeStruct createTupleType(const ref Loc loc, Expressions* e, Scope* sc) in private()
259 auto r = cast(TypeStruct)sdecl.type; in private()
276 private extern(D) Expression createTuple(const ref Loc loc, TypeStruct type, Expressions* e) in private()
323 TypeStruct tplty = null; in lowerNonArrayAggregate()
H A Dmtype.h341 TypeStruct *isTypeStruct();
772 class TypeStruct : public Type
779 static TypeStruct *create(StructDeclaration *sym);
783 TypeStruct *syntaxCopy();
H A Dtypinf.d161 static bool visitStruct(TypeStruct t) in isSpeculativeType()
H A Dmtype.d443 sizeTy[Tstruct] = __traits(classInstanceSize, TypeStruct);
580 … if (ts1.sym == (cast(TypeStruct)tp2).sym && MODimplicitConv(tp2.mod, tp1.mod))
647 … if ((cast(TypeStruct)t1n).sym == (cast(TypeStruct)t2n).sym && MODimplicitConv(t1n.mod, t2n.mod))
1118 (cast(TypeStruct)t).att = AliasThisRec.fwdref; in nullAttributes()
2073 pflag = &(cast(TypeStruct)tb).att; in checkAliasThisRec()
2714 …inout(TypeStruct) isTypeStruct() { return ty == Tstruct ? cast(typeof(return))this : nu… in isTypeStruct()
4723 argStruct = (cast(TypeStruct)targ).sym;
4724 prmStruct = (cast(TypeStruct)tprm).sym;
5617 extern (C++) final class TypeStruct : Type
5629 static TypeStruct create(StructDeclaration sym) in create()
[all …]
H A Ddscope.d398 TypeStruct ts; in checkAliasThis()
402 ts = cast(TypeStruct)t; in checkAliasThis()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dexpr.cc67 StructDeclaration *sd = ((TypeStruct *) t)->sym; in needs_postblit()
83 StructDeclaration *sd = ((TypeStruct *) t)->sym; in needs_dtor()
305 StructDeclaration *sd = ((TypeStruct *) tb1)->sym; in visit()
348 || (t1elem->ty == Tstruct && !((TypeStruct *)t1elem)->sym->xeq)) in visit()
370 || identity_compare_p (((TypeStruct *) t1elem)->sym)) in visit()
380 StructDeclaration *sd = ((TypeStruct *) t1elem)->sym; in visit()
439 StructDeclaration *sd = ((TypeStruct *) tb1)->sym; in visit()
1070 StructDeclaration *sd = ((TypeStruct *) tb1)->sym; in visit()
1518 TypeStruct *ts = (TypeStruct *) telem; in visit()
1536 TypeStruct *ts = (TypeStruct *)tnext; in visit()
[all …]
H A Dimports.cc142 dsym = ((TypeStruct *) type)->sym; in visit()

1234