| commit | a36ec4243bea51afe39c9d25206fe26dd30d748c | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Sun Apr 11 08:28:14 2010 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Sun Apr 11 08:28:14 2010 +0000 |
| tree | 2ecb63e698763bc8137a6defde656d1ba0f4fcaf | |
| parent | 90c58faea6559a237ea26900a2494936b50eaa5a [diff] |
fix PR6811 by not parsing 'super' as a magic expression in LookupInObjCMethod. Doing so allows all sorts of invalid code to slip through to codegen. This patch does not change the AST representation of super, though that would now be a natural thing to do since it can only be in the receiver position and in the base of a ObjCPropertyRefExpr. There are still several ugly areas handling super in the parser, but this is definitely a step in the right direction. llvm-svn: 100959