Commits

Chris Lattner committed b075f810ba8
Reimplement error recovery in C-style for statement, where we'd turn a ClosureExpr into the body of the for statement. Instead of ripping the body of the closureexpr out and putting it into the C Style for, wrap up the closureExpr into a call. This avoids breaking AST invariants because the ClosureExpr will be the DeclContext for anything inside of it. This fixes <rdar://problem/21679557> compiler crashes on "for{{" ... which was Practical Swift's shortest crasher. Swift SVN r29916