Searched refs:getVariance (Results 1 – 7 of 7) sorted by relevance
856 if (newTypeParam->getVariance() != prevTypeParam->getVariance()) { in checkTypeParamListConsistency()857 if (newTypeParam->getVariance() == ObjCTypeParamVariance::Invariant && in checkTypeParamListConsistency()861 newTypeParam->setVariance(prevTypeParam->getVariance()); in checkTypeParamListConsistency()862 } else if (prevTypeParam->getVariance() in checkTypeParamListConsistency()879 << static_cast<unsigned>(newTypeParam->getVariance()) in checkTypeParamListConsistency()881 << static_cast<unsigned>(prevTypeParam->getVariance()) in checkTypeParamListConsistency()883 switch (prevTypeParam->getVariance()) { in checkTypeParamListConsistency()891 = prevTypeParam->getVariance() == ObjCTypeParamVariance::Covariant in checkTypeParamListConsistency()894 if (newTypeParam->getVariance() in checkTypeParamListConsistency()910 newTypeParam->setVariance(prevTypeParam->getVariance()); in checkTypeParamListConsistency()[all …]
1363 switch (Param->getVariance()) { in PrintObjCTypeParams()
1116 switch (D->getVariance()) { in VisitObjCTypeParamDecl()
2738 switch (D->getVariance()) { in VisitObjCTypeParamDecl()
4875 Result, D, Importer.getToContext(), DC, D->getVariance(), in VisitObjCTypeParamDecl()
10461 switch (typeParams->begin()[i]->getVariance()) { in sameObjCTypeArgs()
623 ObjCTypeParamVariance getVariance() const { in getVariance() function