Lines Matching refs:getVariance
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()
1037 typeParam->getVariance(), in ActOnStartClassInterface()