Searched refs:diagLoc (Results 1 – 4 of 4) sorted by relevance
36 FullSourceLoc diagLoc = I->getLocation(); in clearDiagnostic() local39 !diagLoc.isBeforeInTranslationUnitThan(range.getBegin()) && in clearDiagnostic()40 (diagLoc == range.getEnd() || in clearDiagnostic()41 diagLoc.isBeforeInTranslationUnitThan(range.getEnd()))) { in clearDiagnostic()65 FullSourceLoc diagLoc = I->getLocation(); in hasDiagnostic() local68 !diagLoc.isBeforeInTranslationUnitThan(range.getBegin()) && in hasDiagnostic()69 (diagLoc == range.getEnd() || in hasDiagnostic()70 diagLoc.isBeforeInTranslationUnitThan(range.getEnd()))) { in hasDiagnostic()
757 SourceLocation diagLoc; in checkTypeParamListConsistency() local759 diagLoc = newTypeParams->begin()[prevTypeParams->size()]->getLocation(); in checkTypeParamListConsistency()761 diagLoc = S.getLocForEndOfToken(newTypeParams->back()->getLocEnd()); in checkTypeParamListConsistency()764 S.Diag(diagLoc, diag::err_objc_type_param_arity_mismatch) in checkTypeParamListConsistency()796 SourceLocation diagLoc = newTypeParam->getVarianceLoc(); in checkTypeParamListConsistency() local797 if (diagLoc.isInvalid()) in checkTypeParamListConsistency()798 diagLoc = newTypeParam->getLocStart(); in checkTypeParamListConsistency()800 auto diag = S.Diag(diagLoc, in checkTypeParamListConsistency()
6522 SourceLocation diagLoc; in CheckReturnStackAddr() local6525 diagLoc = stackE->getLocStart(); in CheckReturnStackAddr()6532 diagLoc = refVars[0]->getLocStart(); in CheckReturnStackAddr()6538 S.Diag(diagLoc, diag::warn_ret_stack_addr_ref) << lhsType->isReferenceType() in CheckReturnStackAddr()6541 S.Diag(diagLoc, diag::err_ret_local_block) << diagRange; in CheckReturnStackAddr()6543 S.Diag(diagLoc, diag::warn_ret_addr_label) << diagRange; in CheckReturnStackAddr()6545 S.Diag(diagLoc, diag::warn_ret_local_temp_addr_ref) in CheckReturnStackAddr()
2146 SourceLocation diagLoc = Tok.getLocation(); in ParseObjCAtImplementationDeclaration() local2150 Diag(diagLoc, diag::err_objc_parameterized_implementation) in ParseObjCAtImplementationDeclaration()2151 << SourceRange(diagLoc, PrevTokLocation); in ParseObjCAtImplementationDeclaration()