Remove spurious consts. This fixes warnings with compilers that
are strict about such things.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41956 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Support/APFloat.cpp b/lib/Support/APFloat.cpp
index 397ff6d..68c1fcc 100644
--- a/lib/Support/APFloat.cpp
+++ b/lib/Support/APFloat.cpp
@@ -1629,7 +1629,7 @@
APInt
APFloat::convertDoubleAPFloatToAPInt() const {
- assert(semantics == (const llvm::fltSemantics* const)&IEEEdouble);
+ assert(semantics == (const llvm::fltSemantics*)&IEEEdouble);
assert (partCount()==1);
uint64_t myexponent, mysignificand;
@@ -1659,7 +1659,7 @@
APInt
APFloat::convertFloatAPFloatToAPInt() const {
- assert(semantics == (const llvm::fltSemantics* const)&IEEEsingle);
+ assert(semantics == (const llvm::fltSemantics*)&IEEEsingle);
assert (partCount()==1);
uint32_t myexponent, mysignificand;