Lines Matching defs:diagLoc
757 SourceLocation diagLoc;
759 diagLoc = newTypeParams->begin()[prevTypeParams->size()]->getLocation();
761 diagLoc = S.getLocForEndOfToken(newTypeParams->back()->getLocEnd());
764 S.Diag(diagLoc, diag::err_objc_type_param_arity_mismatch)
796 SourceLocation diagLoc = newTypeParam->getVarianceLoc();
797 if (diagLoc.isInvalid())
798 diagLoc = newTypeParam->getLocStart();
800 auto diag = S.Diag(diagLoc,