Don't skip past the '}' if an expression has error and is not followed by ';'.
commitc320db3c92eabfd366c911b179e049da18fabd53
authorArgiris Kirtzidis <akyrtzi@gmail.com>
Wed, 31 Mar 2010 00:37:59 +0000 (31 00:37 +0000)
committerArgiris Kirtzidis <akyrtzi@gmail.com>
Wed, 31 Mar 2010 00:37:59 +0000 (31 00:37 +0000)
treea0b1e5c2b472eb1806833bdafac0b24e7405afb7
parent8608b86b1dcfdba7148d32cab18b2245ce4994c6
Don't skip past the '}' if an expression has error and is not followed by ';'.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99972 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseStmt.cpp
test/Index/recover-bad-code-rdar_7487294.c
test/Parser/statements.c