| commit | cba730bd0b96eb5c133a8ba85636d162c0956fcd | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Mon Oct 20 05:57:40 2008 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Mon Oct 20 05:57:40 2008 +0000 |
| tree | f298faae7d139e773880ad730f087278ae3e47b0 | |
| parent | e48b46bf65bb36d4f832bdc0d95769886a733ffe [diff] |
fix some minor error recovery bugs in ParseObjCInterfaceDeclList where it would reject @required in non-protocols, but then go ahead and tag methods with required anyway. Instead, if we see this in something other than a protocol, just ignore the request. Also, improve error recovery a bit when we see something bogus inside an interface. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57798 91177308-0d34-0410-b5e6-96231b3b80d8