Value* were never meant to be const. Removing constness from the constant
authorNick Lewycky <nicholas@mxc.ca>
Sun, 20 Sep 2009 01:35:59 +0000 (01:35 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 20 Sep 2009 01:35:59 +0000 (01:35 +0000)
commit33c06adcf10d3ef7bbfc70f09f4966eec2e6c85e
treec62a6d970b39f6083b0a32247f933859e17937e5
parentb7b71a37a1bb88ef88c387f8a31bfc10dd816e83
Value* were never meant to be const. Removing constness from the constant
folder removes a lot of const_casting and requires no changes to clang or
llvm-gcc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82349 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/ConstantFold.cpp
lib/VMCore/ConstantFold.h