OSDN Git Service

Fix unnecessary removal of const through cast machinery
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 11 Feb 2013 01:16:51 +0000 (01:16 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 11 Feb 2013 01:16:51 +0000 (01:16 +0000)
commitf12b379448a9f2131feba15c01714e44bedda120
tree04edc550bcb649ae1e77430e3ddc01c4c1b118a3
parent612779eb83a98cec1e11dc823ba2e6420edbce54
Fix unnecessary removal of const through cast machinery

I have some uncommitted changes to the cast code that catch this sort of thing
at compile-time but I still need to do some other cleanup before I can enable
it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174853 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCObjectWriter.h
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/IR/AsmWriter.cpp
lib/MC/MCAssembler.cpp