commit | 17af2a62f31ec9e09c4df20873a717bb5f0ad99e | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Jul 21 04:09:54 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Jul 21 04:09:54 2008 +0000 |
tree | 1071231ad55ca70d6c088238f068aadc52ee98ac | |
parent | d85376aa66bc16488539f6bb11f97d0170b1fe6b [diff] |
Fix a crash that can happen when you have typedefs for pointers to interfaces. Just because they x->isPointerType() doesn't mean it is valid to just cast to a pointertype. We have to handle typedefs etc as well. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53819 91177308-0d34-0410-b5e6-96231b3b80d8