commit | a2449b2bf739545494241e189b59587d5ca5c2c1 | [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 | e82a10fbba9e33b253119c7c1e0a9801caef486d [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