| commit | 5566290b341e42a2db22ffe3fad927568995111c | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Sun Oct 25 17:04:48 2009 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Sun Oct 25 17:04:48 2009 +0000 |
| tree | 31dce2f0f5cedf159b7bad3fb4aa2c07e0c74af6 | |
| parent | 1054faed320dd781a31338493d7368b3789c141f [diff] |
In objc mode, every identifier in a cast expression was using doing a type looking using getTypeName() and every property access was using NextToken() to do lookahead to see if the identifier is followed by a '.'. Rearrange this code to not need lookahead and only do the type lookup if we have "identifier." in the token stream. Also improve a diagnostic a bit. llvm-svn: 85056