commit | 40b2e19cae6ab85407856c70f76278f9efbeeb7c | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Aug 23 20:19:14 2012 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Thu Aug 23 20:19:14 2012 +0000 |
tree | 33b64a284db290fe463964aaccecf55beff1026c | |
parent | 42b60551eff3a424e191b293bfd606559dc96bff [diff] |
When disambiguating an expression-statement from a declaraton-statement, if the statement starts with an identifier for which name lookup will fail either way, look at later tokens to disambiguate in order to improve error recovery. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162464 91177308-0d34-0410-b5e6-96231b3b80d8