Searched refs:t2n (Results 1 – 11 of 11) sorted by relevance
/netbsd/external/gpl3/gcc/dist/gcc/d/dmd/ |
H A D | dcast.c | 2705 Type *t2n = t2->nextOf(); in typeMerge() local 2707 if (t1n->equals(t2n)) in typeMerge() 2711 else if (t2n->ty == Tvoid) in typeMerge() 2763 else if (t1n->mod != t2n->mod) in typeMerge() 2765 if (!t1n->isImmutable() && !t2n->isImmutable() && t1n->isShared() != t2n->isShared()) in typeMerge() 2796 t2 = t2n->constOf()->pointerTo(); in typeMerge() 2873 Type *t2n = t2->nextOf(); in typeMerge() local 2876 mod = t2n->mod; in typeMerge() 2879 else if (!t1n->isImmutable() && !t2n->isImmutable() && t1n->isShared() != t2n->isShared()) in typeMerge() 2882 mod = MODmerge(t1n->mod, t2n->mod); in typeMerge() [all …]
|
H A D | dcast.d | 2988 Type t2n = t2.nextOf(); in typeMerge() local 2990 if (t1n.equals(t2n)) in typeMerge() 2996 if (t2n.ty == Tvoid) in typeMerge() 3036 if (t1n.mod != t2n.mod) in typeMerge() 3038 if (!t1n.isImmutable() && !t2n.isImmutable() && t1n.isShared() != t2n.isShared()) in typeMerge() 3070 t2 = t2n.constOf().pointerTo(); in typeMerge() 3133 Type t2n = t2.nextOf(); in typeMerge() local 3136 mod = t2n.mod; in typeMerge() 3139 else if (!t1n.isImmutable() && !t2n.isImmutable() && t1n.isShared() != t2n.isShared()) in typeMerge() 3142 mod = MODmerge(t1n.mod, t2n.mod); in typeMerge() [all …]
|
H A D | opover.c | 887 Type *t2n = t2->nextOf()->toBasetype(); in op_overload() local 889 (t2n->ty == Tchar || t2n->ty == Twchar || t2n->ty == Tdchar)) || in op_overload() 890 (t1n->ty == Tvoid || t2n->ty == Tvoid)) in op_overload() 894 if (t1n->constOf() != t2n->constOf()) in op_overload()
|
H A D | mtype.d | 620 Type t2n = t2.next; variable 622 if (!t1n || !t2n) // happens with return type inference 625 if (t1n.equals(t2n)) 627 if (t1n.ty == Tclass && t2n.ty == Tclass) 633 … if ((cast(TypeClass)t1n).sym == (cast(TypeClass)t2n).sym && MODimplicitConv(t1n.mod, t2n.mod)) 645 if (t1n.ty == Tstruct && t2n.ty == Tstruct) 647 … if ((cast(TypeStruct)t1n).sym == (cast(TypeStruct)t2n).sym && MODimplicitConv(t1n.mod, t2n.mod)) 650 else if (t1n.ty == t2n.ty && t1n.implicitConvTo(t2n)) 655 if (t1n.constConv(t2n) < MATCH.constant) 666 Type t2bn = t2n.toBasetype();
|
H A D | mtype.c | 5324 Type *t2n = t2->next; in covariant() local 5326 if (!t1n || !t2n) // happens with return type inference in covariant() 5329 if (t1n->equals(t2n)) in covariant() 5331 if (t1n->ty == Tclass && t2n->ty == Tclass) in covariant() 5337 if (((TypeClass *)t1n)->sym == ((TypeClass *)t2n)->sym && in covariant() 5338 MODimplicitConv(t1n->mod, t2n->mod)) in covariant() 5350 if (t1n->ty == Tstruct && t2n->ty == Tstruct) in covariant() 5352 if (((TypeStruct *)t1n)->sym == ((TypeStruct *)t2n)->sym && in covariant() 5353 MODimplicitConv(t1n->mod, t2n->mod)) in covariant() 5356 else if (t1n->ty == t2n->ty && t1n->implicitConvTo(t2n)) in covariant() [all …]
|
H A D | expressionsem.d | 9754 Type t2n = t2.nextOf(); in visit() local 9757 if (t2n.equivalent(t1n) || in visit() 9758 t1n.isBaseOf(t2n, &offset) && offset == 0) in visit() 9792 if (t1n.toBasetype.ty == Tvoid && t2n.toBasetype.ty == Tvoid) in visit() 11707 Type t2n = t2.nextOf().toBasetype(); in visit() local 11708 if ((t1n.ty.isSomeChar && t2n.ty.isSomeChar) || in visit() 11709 (t1n.ty == Tvoid || t2n.ty == Tvoid)) in visit() 11713 if (t1n.constOf() != t2n.constOf()) in visit()
|
H A D | expressionsem.c | 6064 Type *t2n = t2->nextOf(); in visit() local 6067 if (t2n->equivalent(t1n) || in visit() 6068 (t1n->isBaseOf(t2n, &offset) && offset == 0)) in visit() 6101 if (t1n->toBasetype()->ty == Tvoid && t2n->toBasetype()->ty == Tvoid) in visit()
|
/netbsd/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
H A D | dcast.c | 2705 Type *t2n = t2->nextOf(); in typeMerge() local 2707 if (t1n->equals(t2n)) in typeMerge() 2711 else if (t2n->ty == Tvoid) in typeMerge() 2763 else if (t1n->mod != t2n->mod) in typeMerge() 2765 if (!t1n->isImmutable() && !t2n->isImmutable() && t1n->isShared() != t2n->isShared()) in typeMerge() 2796 t2 = t2n->constOf()->pointerTo(); in typeMerge() 2873 Type *t2n = t2->nextOf(); in typeMerge() local 2876 mod = t2n->mod; in typeMerge() 2879 else if (!t1n->isImmutable() && !t2n->isImmutable() && t1n->isShared() != t2n->isShared()) in typeMerge() 2882 mod = MODmerge(t1n->mod, t2n->mod); in typeMerge() [all …]
|
H A D | opover.c | 887 Type *t2n = t2->nextOf()->toBasetype(); in op_overload() local 889 (t2n->ty == Tchar || t2n->ty == Twchar || t2n->ty == Tdchar)) || in op_overload() 890 (t1n->ty == Tvoid || t2n->ty == Tvoid)) in op_overload() 894 if (t1n->constOf() != t2n->constOf()) in op_overload()
|
H A D | mtype.c | 5324 Type *t2n = t2->next; in covariant() local 5326 if (!t1n || !t2n) // happens with return type inference in covariant() 5329 if (t1n->equals(t2n)) in covariant() 5331 if (t1n->ty == Tclass && t2n->ty == Tclass) in covariant() 5337 if (((TypeClass *)t1n)->sym == ((TypeClass *)t2n)->sym && in covariant() 5338 MODimplicitConv(t1n->mod, t2n->mod)) in covariant() 5350 if (t1n->ty == Tstruct && t2n->ty == Tstruct) in covariant() 5352 if (((TypeStruct *)t1n)->sym == ((TypeStruct *)t2n)->sym && in covariant() 5353 MODimplicitConv(t1n->mod, t2n->mod)) in covariant() 5356 else if (t1n->ty == t2n->ty && t1n->implicitConvTo(t2n)) in covariant() [all …]
|
H A D | expressionsem.c | 6064 Type *t2n = t2->nextOf(); in visit() local 6067 if (t2n->equivalent(t1n) || in visit() 6068 (t1n->isBaseOf(t2n, &offset) && offset == 0)) in visit() 6101 if (t1n->toBasetype()->ty == Tvoid && t2n->toBasetype()->ty == Tvoid) in visit()
|