Revert "Add const to a bunch of Type* in DataLayout. NFC."
authorPete Cooper <peter_cooper@apple.com>
Mon, 27 Jul 2015 17:15:28 +0000 (17:15 +0000)
committerPete Cooper <peter_cooper@apple.com>
Mon, 27 Jul 2015 17:15:28 +0000 (17:15 +0000)
commit80ec0f8f150866efb5e58d4d1e811ccb64bb99c6
treea476c95bc548ad4d8ab982b7c2eb33b205c54f82
parent5253b18afbafb8d617a4a1975b595e50450ae8dd
Revert "Add const to a bunch of Type* in DataLayout.  NFC."

This reverts commit r243135.

Feedback from Craig Topper and David Blaikie was that we don't put const on Type as it has no mutable state.

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