Lines Matching refs:OldType
921 const FunctionProtoType* OldType = cast<FunctionProtoType>(OldQType);
928 (OldType->getNumArgs() != NewType->getNumArgs() ||
929 OldType->isVariadic() != NewType->isVariadic() ||
930 !FunctionArgTypesAreEqual(OldType, NewType)))
949 OldType->getResultType() != NewType->getResultType()))
2474 bool Sema::FunctionArgTypesAreEqual(const FunctionProtoType *OldType,
2478 for (FunctionProtoType::arg_type_iterator O = OldType->arg_type_begin(),
2480 E = OldType->arg_type_end(); O && (O != E); ++O, ++N) {
2482 if (ArgPos) *ArgPos = O - OldType->arg_type_begin();
2489 for (FunctionProtoType::arg_type_iterator O = OldType->arg_type_begin(),
2491 E = OldType->arg_type_end(); O && (O != E); ++O, ++N) {
2512 if (ArgPos) *ArgPos = O - OldType->arg_type_begin();