mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
Remove redundant const qualifiers from cast<> expressions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7253 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user