Commits

Chris Willmore committed 42dba244644
Don't allow '{' at start of if-condition If '{' is encountered immediately after 'if', assume that the condition is missing. Apply the same treatment to while, do-while, for-in, and switch. This way we're not trying to re-parse, backtrack, repurpose misparsed closure bodies, etc. in those cases. Users who want to write a condition that starts with '{' can wrap it in parens. Addressing feedback re <rdar://problem/18940198>. Swift SVN r25747