commit | b96728d90abc35a520798066d2a75ca36400a617 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Oct 29 05:08:52 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Oct 29 05:08:52 2007 +0000 |
tree | 37118dc3718fa361c30677ba8a0b0323a5ca6a79 | |
parent | 85f9bceab1542aafff012d4d28e998f4ba16e362 [diff] |
improve error recovery handling broken 'then' or 'else' stmts in if statements. This implements Sema/if-empty-body.c:f3, silencing a bogus secondary warning. It also improve the location info for the nullstmts created for recovery purposes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43440 91177308-0d34-0410-b5e6-96231b3b80d8