Searched refs:NewRT (Results 1 – 2 of 2) sorted by relevance
13185 } else if (const ReferenceType *NewRT = NewTy->getAs<ReferenceType>()) { in CheckOverridingFunctionReturnType() local13187 if (NewRT->getTypeClass() == OldRT->getTypeClass()) { in CheckOverridingFunctionReturnType()13188 NewClassTy = NewRT->getPointeeType(); in CheckOverridingFunctionReturnType()
16950 } else if (const ReferenceType *NewRT = NewTy->getAs<ReferenceType>()) { in CheckOverridingFunctionReturnType() local16952 if (NewRT->getTypeClass() == OldRT->getTypeClass()) { in CheckOverridingFunctionReturnType()16953 NewClassTy = NewRT->getPointeeType(); in CheckOverridingFunctionReturnType()