Searched refs:BCFinder (Results 1 – 2 of 2) sorted by relevance
1612 BreakContinueFinder BCFinder(*this, E); in CheckBreakContinueBinding() local1614 if (BCFinder.BreakFound() && BreakParent) { in CheckBreakContinueBinding()1616 Diag(BCFinder.GetBreakLoc(), diag::warn_break_binds_to_switch); in CheckBreakContinueBinding()1618 Diag(BCFinder.GetBreakLoc(), diag::warn_loop_ctrl_binds_to_inner) in CheckBreakContinueBinding()1621 } else if (BCFinder.ContinueFound() && CurScope->getContinueParent()) { in CheckBreakContinueBinding()1622 Diag(BCFinder.GetContinueLoc(), diag::warn_loop_ctrl_binds_to_inner) in CheckBreakContinueBinding()
1798 BreakContinueFinder BCFinder(*this, E); in CheckBreakContinueBinding() local1800 if (BCFinder.BreakFound() && BreakParent) { in CheckBreakContinueBinding()1802 Diag(BCFinder.GetBreakLoc(), diag::warn_break_binds_to_switch); in CheckBreakContinueBinding()1804 Diag(BCFinder.GetBreakLoc(), diag::warn_loop_ctrl_binds_to_inner) in CheckBreakContinueBinding()1807 } else if (BCFinder.ContinueFound() && CurScope->getContinueParent()) { in CheckBreakContinueBinding()1808 Diag(BCFinder.GetContinueLoc(), diag::warn_loop_ctrl_binds_to_inner) in CheckBreakContinueBinding()