The swept wing case is covered in the stalling section, as mentioned elsewhere.

The boundary layer flow is back over the wing, and once past the point of maximum camber is moving to an area of higher pressure - an adverse pressure gradient. On a swept wing this "obstacle" lies not across the flow but at an angle and pushes at the boundary layer not just in a forward direction but also outwards