Searched refs:diagLoc (Results 1 – 3 of 3) sorted by relevance
37 FullSourceLoc diagLoc = I->getLocation(); in clearDiagnostic() local40 !diagLoc.isBeforeInTranslationUnitThan(range.getBegin()) && in clearDiagnostic()41 (diagLoc == range.getEnd() || in clearDiagnostic()42 diagLoc.isBeforeInTranslationUnitThan(range.getEnd()))) { in clearDiagnostic()66 FullSourceLoc diagLoc = I->getLocation(); in hasDiagnostic() local69 !diagLoc.isBeforeInTranslationUnitThan(range.getBegin()) && in hasDiagnostic()70 (diagLoc == range.getEnd() || in hasDiagnostic()71 diagLoc.isBeforeInTranslationUnitThan(range.getEnd()))) { in hasDiagnostic()
834 SourceLocation diagLoc; in checkTypeParamListConsistency() local836 diagLoc = newTypeParams->begin()[prevTypeParams->size()]->getLocation(); in checkTypeParamListConsistency()838 diagLoc = S.getLocForEndOfToken(newTypeParams->back()->getEndLoc()); in checkTypeParamListConsistency()841 S.Diag(diagLoc, diag::err_objc_type_param_arity_mismatch) in checkTypeParamListConsistency()873 SourceLocation diagLoc = newTypeParam->getVarianceLoc(); in checkTypeParamListConsistency() local874 if (diagLoc.isInvalid()) in checkTypeParamListConsistency()875 diagLoc = newTypeParam->getBeginLoc(); in checkTypeParamListConsistency()877 auto diag = S.Diag(diagLoc, in checkTypeParamListConsistency()
2188 SourceLocation diagLoc = Tok.getLocation(); in ParseObjCAtImplementationDeclaration() local2192 Diag(diagLoc, diag::err_objc_parameterized_implementation) in ParseObjCAtImplementationDeclaration()2193 << SourceRange(diagLoc, PrevTokLocation); in ParseObjCAtImplementationDeclaration()