]> granicus.if.org Git - clang/commit
Sema::ActOnInstanceMessage is generally doing bad things with typedefs, but
authorChris Lattner <sabre@nondot.org>
Fri, 1 Feb 2008 06:43:02 +0000 (06:43 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 1 Feb 2008 06:43:02 +0000 (06:43 +0000)
commitfb8cc1dfd87a1cbbaa17d64ec753d3fe8a9e9c38
treecdf9323da86976c2197357e880b0cbbfeeebab2d
parent77250c8034e4febf7ac48b95ebc4551eadcaee83
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
Sema/SemaExprObjC.cpp