summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-07-23 15:30:06 +0000
committerChris Lattner <sabre@nondot.org>2003-07-23 15:30:06 +0000
commitf26a8ee58017b22c41483b45679385eb0d31f000 (patch)
tree74820d8b9ed2e434081403a2d3e79cc4c260eea0 /llvm/lib/Bytecode
parent6077c3195f74b27b75ed3e9df3af7a13798b437f (diff)
downloadbcm5719-llvm-f26a8ee58017b22c41483b45679385eb0d31f000.tar.gz
bcm5719-llvm-f26a8ee58017b22c41483b45679385eb0d31f000.zip
Remove redundant const qualifiers from cast<> expressions
llvm-svn: 7253
Diffstat (limited to 'llvm/lib/Bytecode')
-rw-r--r--llvm/lib/Bytecode/Reader/ConstantReader.cpp4
1 files changed, 2 insertions, 2 deletions
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<const ArrayType>(Ty);
+ const ArrayType *AT = cast<ArrayType>(Ty);
unsigned NumElements = AT->getNumElements();
std::vector<Constant*> Elements;
@@ -310,7 +310,7 @@ bool BytecodeParser::parseConstantValue(const unsigned char *&Buf,
}
case Type::PointerTyID: {
- const PointerType *PT = cast<const PointerType>(Ty);
+ const PointerType *PT = cast<PointerType>(Ty);
unsigned SubClass;
if (HasImplicitZeroInitializer)
SubClass = 1;
OpenPOWER on IntegriCloud