Searched refs:OldRT (Results 1 – 2 of 2) sorted by relevance
13186 if (const ReferenceType *OldRT = OldTy->getAs<ReferenceType>()) { in CheckOverridingFunctionReturnType() local13187 if (NewRT->getTypeClass() == OldRT->getTypeClass()) { in CheckOverridingFunctionReturnType()13189 OldClassTy = OldRT->getPointeeType(); in CheckOverridingFunctionReturnType()
16951 if (const ReferenceType *OldRT = OldTy->getAs<ReferenceType>()) { in CheckOverridingFunctionReturnType() local16952 if (NewRT->getTypeClass() == OldRT->getTypeClass()) { in CheckOverridingFunctionReturnType()16954 OldClassTy = OldRT->getPointeeType(); in CheckOverridingFunctionReturnType()