Searched refs:prevTypeParam (Results 1 – 2 of 2) sorted by relevance
775 ObjCTypeParamDecl *prevTypeParam = prevTypeParams->begin()[i]; in checkTypeParamListConsistency() local779 if (newTypeParam->getVariance() != prevTypeParam->getVariance()) { in checkTypeParamListConsistency()784 newTypeParam->setVariance(prevTypeParam->getVariance()); in checkTypeParamListConsistency()785 } else if (prevTypeParam->getVariance() in checkTypeParamListConsistency()787 !(isa<ObjCInterfaceDecl>(prevTypeParam->getDeclContext()) && in checkTypeParamListConsistency()788 cast<ObjCInterfaceDecl>(prevTypeParam->getDeclContext()) in checkTypeParamListConsistency()789 ->getDefinition() == prevTypeParam->getDeclContext())) { in checkTypeParamListConsistency()804 << static_cast<unsigned>(prevTypeParam->getVariance()) in checkTypeParamListConsistency()805 << prevTypeParam->getDeclName(); in checkTypeParamListConsistency()806 switch (prevTypeParam->getVariance()) { in checkTypeParamListConsistency()[all …]
852 ObjCTypeParamDecl *prevTypeParam = prevTypeParams->begin()[i]; in checkTypeParamListConsistency() local856 if (newTypeParam->getVariance() != prevTypeParam->getVariance()) { in checkTypeParamListConsistency()861 newTypeParam->setVariance(prevTypeParam->getVariance()); in checkTypeParamListConsistency()862 } else if (prevTypeParam->getVariance() in checkTypeParamListConsistency()864 !(isa<ObjCInterfaceDecl>(prevTypeParam->getDeclContext()) && in checkTypeParamListConsistency()865 cast<ObjCInterfaceDecl>(prevTypeParam->getDeclContext()) in checkTypeParamListConsistency()866 ->getDefinition() == prevTypeParam->getDeclContext())) { in checkTypeParamListConsistency()881 << static_cast<unsigned>(prevTypeParam->getVariance()) in checkTypeParamListConsistency()882 << prevTypeParam->getDeclName(); in checkTypeParamListConsistency()883 switch (prevTypeParam->getVariance()) { in checkTypeParamListConsistency()[all …]