[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:
Craig Topper 2015-05-04 01:35:42 +00:00
parent dc0b6f2171
commit 82b7c1b25b

View File

@ -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;
}