Searched refs:diagLoc (Results 1 – 2 of 2) sorted by relevance
35 FullSourceLoc diagLoc = I->getLocation(); in clearDiagnostic() local38 !diagLoc.isBeforeInTranslationUnitThan(range.getBegin()) && in clearDiagnostic()39 (diagLoc == range.getEnd() || in clearDiagnostic()40 diagLoc.isBeforeInTranslationUnitThan(range.getEnd()))) { in clearDiagnostic()64 FullSourceLoc diagLoc = I->getLocation(); in hasDiagnostic() local67 !diagLoc.isBeforeInTranslationUnitThan(range.getBegin()) && in hasDiagnostic()68 (diagLoc == range.getEnd() || in hasDiagnostic()69 diagLoc.isBeforeInTranslationUnitThan(range.getEnd()))) { in hasDiagnostic()
5145 SourceLocation diagLoc; in CheckReturnStackAddr() local5148 diagLoc = stackE->getLocStart(); in CheckReturnStackAddr()5155 diagLoc = refVars[0]->getLocStart(); in CheckReturnStackAddr()5160 S.Diag(diagLoc, lhsType->isReferenceType() ? diag::warn_ret_stack_ref in CheckReturnStackAddr()5164 S.Diag(diagLoc, diag::err_ret_local_block) << diagRange; in CheckReturnStackAddr()5166 S.Diag(diagLoc, diag::warn_ret_addr_label) << diagRange; in CheckReturnStackAddr()5168 S.Diag(diagLoc, lhsType->isReferenceType() ? diag::warn_ret_local_temp_ref in CheckReturnStackAddr()