Home
last modified time | relevance | path

Searched refs:prevTypeParam (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Sema/
DSemaDeclObjC.cpp775 ObjCTypeParamDecl *prevTypeParam = prevTypeParams->begin()[i]; in checkTypeParamListConsistency() local
779 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 …]