Home
last modified time | relevance | path

Searched refs:tfromb (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dsafe.d133 auto tfromb = tfrom.toBasetype(); in isSafeCast() local
136 if (ttob.ty == Tclass && tfromb.ty == Tclass) in isSafeCast()
138 ClassDeclaration cdfrom = tfromb.isClassHandle(); in isSafeCast()
150 if (!MODimplicitConv(tfromb.mod, ttob.mod)) in isSafeCast()
155 if (ttob.ty == Tarray && tfromb.ty == Tsarray) // https://issues.dlang.org/show_bug.cgi?id=12502 in isSafeCast()
156 tfromb = tfromb.nextOf().arrayOf(); in isSafeCast()
158 if (ttob.ty == Tarray && tfromb.ty == Tarray || in isSafeCast()
159 ttob.ty == Tpointer && tfromb.ty == Tpointer) in isSafeCast()
162 Type tfromn = tfromb.nextOf().toBasetype(); in isSafeCast()