Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaDeclObjC.cpp752 ObjCTypeParamList *prevTypeParams, 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()
766 << (newTypeParams->size() > prevTypeParams->size()) in checkTypeParamListConsistency()
767 << prevTypeParams->size() in checkTypeParamListConsistency()
774 for (unsigned i = 0, n = prevTypeParams->size(); i != n; ++i) { in checkTypeParamListConsistency()
775 ObjCTypeParamDecl *prevTypeParam = prevTypeParams->begin()[i]; in checkTypeParamListConsistency()
/external/llvm-project/clang/lib/Sema/
DSemaDeclObjC.cpp829 ObjCTypeParamList *prevTypeParams, 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()
843 << (newTypeParams->size() > prevTypeParams->size()) in checkTypeParamListConsistency()
844 << prevTypeParams->size() in checkTypeParamListConsistency()
851 for (unsigned i = 0, n = prevTypeParams->size(); i != n; ++i) { in checkTypeParamListConsistency()
852 ObjCTypeParamDecl *prevTypeParam = prevTypeParams->begin()[i]; in checkTypeParamListConsistency()