Commits

Vedant Kumar committed 2a34b7c6412
[Coverage] Fix handling of abnormal exits through repeat blocks We do not correctly update the counter expression for conditionals in repeat-while blocks in the following two situations: Situation 1: repeat { // Region 1 if (C1) { // Region 2 break } } while C2 // Should be "Region 1 - Region 2", not "Region 1" Situation 2: repeat { // Region 1 if (C1) { // Region 2 continue } } while C2 // Should be "Region 1", not "Region 1 + Region 2" Fix both of these problems and add thorough regression tests. Closes Swift PR #1244, rdar://problem/24572268