Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaDeclObjC.cpp755 ObjCTypeParamDecl *newTypeParam = newTypeParams->begin()[i]; in checkTypeParamListConsistency() local
758 if (newTypeParam->getVariance() != prevTypeParam->getVariance()) { in checkTypeParamListConsistency()
759 if (newTypeParam->getVariance() == ObjCTypeParamVariance::Invariant && in checkTypeParamListConsistency()
763 newTypeParam->setVariance(prevTypeParam->getVariance()); in checkTypeParamListConsistency()
775 SourceLocation diagLoc = newTypeParam->getVarianceLoc(); in checkTypeParamListConsistency()
777 diagLoc = newTypeParam->getLocStart(); in checkTypeParamListConsistency()
781 << static_cast<unsigned>(newTypeParam->getVariance()) in checkTypeParamListConsistency()
782 << newTypeParam->getDeclName() in checkTypeParamListConsistency()
787 diag << FixItHint::CreateRemoval(newTypeParam->getVarianceLoc()); in checkTypeParamListConsistency()
796 if (newTypeParam->getVariance() in checkTypeParamListConsistency()
[all …]