Lines Matching refs:getVariance
779 if (newTypeParam->getVariance() != prevTypeParam->getVariance()) { in checkTypeParamListConsistency()
780 if (newTypeParam->getVariance() == ObjCTypeParamVariance::Invariant && in checkTypeParamListConsistency()
784 newTypeParam->setVariance(prevTypeParam->getVariance()); in checkTypeParamListConsistency()
785 } else if (prevTypeParam->getVariance() in checkTypeParamListConsistency()
802 << static_cast<unsigned>(newTypeParam->getVariance()) in checkTypeParamListConsistency()
804 << static_cast<unsigned>(prevTypeParam->getVariance()) in checkTypeParamListConsistency()
806 switch (prevTypeParam->getVariance()) { in checkTypeParamListConsistency()
814 = prevTypeParam->getVariance() == ObjCTypeParamVariance::Covariant in checkTypeParamListConsistency()
817 if (newTypeParam->getVariance() in checkTypeParamListConsistency()
833 newTypeParam->setVariance(prevTypeParam->getVariance()); in checkTypeParamListConsistency()
963 typeParam->getVariance(), in ActOnStartClassInterface()