commit | fb8cc1dfd87a1cbbaa17d64ec753d3fe8a9e9c38 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Feb 01 06:43:02 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Feb 01 06:43:02 2008 +0000 |
tree | cdf9323da86976c2197357e880b0cbbfeeebab2d | |
parent | 77250c8034e4febf7ac48b95ebc4551eadcaee83 [diff] |
Sema::ActOnInstanceMessage is generally doing bad things with typedefs, but here I fix just one. The loop that rips through pointers should use getAsPointerType() not static_cast<PointerType*> to get the pointee. This fixes a crash on a large testcase. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46632 91177308-0d34-0410-b5e6-96231b3b80d8