Merge the const and non-const Type::getScalarType to a const version that returns...
authorCraig Topper <craig.topper@gmail.com>
Sat, 1 Aug 2015 22:20:27 +0000 (22:20 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 1 Aug 2015 22:20:27 +0000 (22:20 +0000)
commite0582480a4d8e804ca6661cd30a447b3956a7f26
treedf82377ed3ddfc599ea7f0e72c49f510f8240eca
parent84bbcfe2009eafcde83fb7a7f54b7d1aad46f52a
Merge the const and non-const Type::getScalarType to a const version that returns a non-const pointer. Since we don't put const on Types all places were already calling the non-const version.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243843 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Type.h
lib/IR/Type.cpp