Lines Matching refs:OldType
989 const FunctionProtoType *OldType = cast<FunctionProtoType>(OldQType);
996 (OldType->getNumParams() != NewType->getNumParams() ||
997 OldType->isVariadic() != NewType->isVariadic() ||
998 !FunctionParamTypesAreEqual(OldType, NewType)))
1017 OldType->getReturnType() != NewType->getReturnType()))
2633 bool Sema::FunctionParamTypesAreEqual(const FunctionProtoType *OldType,
2636 for (FunctionProtoType::param_type_iterator O = OldType->param_type_begin(),
2638 E = OldType->param_type_end();
2643 *ArgPos = O - OldType->param_type_begin();