Use const_cast instead of a C-style cast to cast away const.
authorDan Gohman <gohman@apple.com>
Sat, 17 Apr 2010 16:43:55 +0000 (16:43 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 17 Apr 2010 16:43:55 +0000 (16:43 +0000)
commit82d5eaf23e9588e47c18ce63acb6a5d35d67490a
tree86b8b2c49a1a2dadbcaeabfd1e9442398f9e3f83
parent9f23dee08c7052af2c4baae3e2b06518896742eb
Use const_cast instead of a C-style cast to cast away const.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101639 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/Target/X86/AsmPrinter/X86MCInstLower.cpp