Use llvm::cast instead of reinterpret_cast.
authorJakub Staszak <kubastaszak@gmail.com>
Mon, 18 Feb 2013 18:49:44 +0000 (18:49 +0000)
committerJakub Staszak <kubastaszak@gmail.com>
Mon, 18 Feb 2013 18:49:44 +0000 (18:49 +0000)
commitfbed8555ad409ba74a032baf53ece1c873c2b9a3
tree1d1a06710104198cc7f37a8fbd49698ba1b17350
parent888fae7b49f5d39f2371edb78566476396e30c75
Use llvm::cast instead of reinterpret_cast.
Also, GetElementPtrInst::getType() method returns SequentialType now, instead of
PointerType. There wasn't any issue yet, so no testcase attached.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175452 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Instructions.h