Lines Matching refs:tf2
270 * tf2 = type of second function
275 bool cFuncEquivalence(TypeFunction tf1, TypeFunction tf2)
277 //printf("cFuncEquivalence()\n %s\n %s\n", tf1.toChars(), tf2.toChars());
278 if (tf1.equals(tf2))
281 if (tf1.linkage != tf2.linkage)
285 if (tf1.parameterList.length == 0 && tf2.parameterList.length == 0)
288 if (!cTypeEquivalence(tf1.next, tf2.next))
291 if (tf1.parameterList.length != tf2.parameterList.length)
294 if (!tf1.parameterList.hasIdentifierList && !tf2.parameterList.hasIdentifierList) // if both are prototyped
296 if (tf1.parameterList.varargs != tf2.parameterList.varargs)
303 Type t2 = tf2.parameterList[i].type;
318 //printf("t2: %s\n", tf2.toChars());