| commit | e1b957d5abc29164915a77b64d586dd85b57ee6c | [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 | 835cff096e76156809b4f4b472131614b6795366 [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