From f26a8ee58017b22c41483b45679385eb0d31f000 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 23 Jul 2003 15:30:06 +0000 Subject: Remove redundant const qualifiers from cast<> expressions llvm-svn: 7253 --- llvm/lib/Bytecode/Reader/ConstantReader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Bytecode/Reader') diff --git a/llvm/lib/Bytecode/Reader/ConstantReader.cpp b/llvm/lib/Bytecode/Reader/ConstantReader.cpp index 8877fe39e37..d52e5a67cc0 100644 --- a/llvm/lib/Bytecode/Reader/ConstantReader.cpp +++ b/llvm/lib/Bytecode/Reader/ConstantReader.cpp @@ -277,7 +277,7 @@ bool BytecodeParser::parseConstantValue(const unsigned char *&Buf, abort(); case Type::ArrayTyID: { - const ArrayType *AT = cast(Ty); + const ArrayType *AT = cast(Ty); unsigned NumElements = AT->getNumElements(); std::vector Elements; @@ -310,7 +310,7 @@ bool BytecodeParser::parseConstantValue(const unsigned char *&Buf, } case Type::PointerTyID: { - const PointerType *PT = cast(Ty); + const PointerType *PT = cast(Ty); unsigned SubClass; if (HasImplicitZeroInitializer) SubClass = 1; -- cgit v1.2.3