Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaDeclObjC.cpp753 ObjCTypeParamList *newTypeParams, in checkTypeParamListConsistency() argument
756 if (prevTypeParams->size() != newTypeParams->size()) { in checkTypeParamListConsistency()
758 if (newTypeParams->size() > prevTypeParams->size()) { in checkTypeParamListConsistency()
759 diagLoc = newTypeParams->begin()[prevTypeParams->size()]->getLocation(); in checkTypeParamListConsistency()
761 diagLoc = S.getLocForEndOfToken(newTypeParams->back()->getLocEnd()); in checkTypeParamListConsistency()
766 << (newTypeParams->size() > prevTypeParams->size()) in checkTypeParamListConsistency()
768 << newTypeParams->size(); in checkTypeParamListConsistency()
776 ObjCTypeParamDecl *newTypeParam = newTypeParams->begin()[i]; in checkTypeParamListConsistency()
/external/llvm-project/clang/lib/Sema/
DSemaDeclObjC.cpp830 ObjCTypeParamList *newTypeParams, in checkTypeParamListConsistency() argument
833 if (prevTypeParams->size() != newTypeParams->size()) { in checkTypeParamListConsistency()
835 if (newTypeParams->size() > prevTypeParams->size()) { in checkTypeParamListConsistency()
836 diagLoc = newTypeParams->begin()[prevTypeParams->size()]->getLocation(); in checkTypeParamListConsistency()
838 diagLoc = S.getLocForEndOfToken(newTypeParams->back()->getEndLoc()); in checkTypeParamListConsistency()
843 << (newTypeParams->size() > prevTypeParams->size()) in checkTypeParamListConsistency()
845 << newTypeParams->size(); in checkTypeParamListConsistency()
853 ObjCTypeParamDecl *newTypeParam = newTypeParams->begin()[i]; in checkTypeParamListConsistency()