mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
[TableGen] Replace 'static_cast' with 'cast'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236398 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dc0b6f2171
commit
82b7c1b25b
@ -883,7 +883,7 @@ Init *BinOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const {
|
||||
Args.insert(Args.end(), LHSs->begin(), LHSs->end());
|
||||
Args.insert(Args.end(), RHSs->begin(), RHSs->end());
|
||||
return ListInit::get(
|
||||
Args, static_cast<ListRecTy *>(LHSs->getType())->getElementType());
|
||||
Args, cast<ListRecTy>(LHSs->getType())->getElementType());
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user