Cast Patch

Jakub Staszak kubastaszak at gmail.com
Sun Feb 17 15:15:34 PST 2013


This patch reduces reinterpret_cast usage and changes it to llvm::cast.
Also GetElementPtrInst::getType() method wasn't correct, because it can return VectorType or PointerType.

I couldn't get any testcase because VectorType and PointerType are both SequentialType, so everything worked fine.

Is it OK to commit?

Thanks!
- Kuba
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ptr.patch
Type: application/octet-stream
Size: 2259 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130218/21a29f9a/attachment.obj>


More information about the llvm-commits mailing list