Skip to content

Commit 23fdafe

Browse files
committed
[TableGen] Replace 'static_cast' with 'cast'.
llvm-svn: 236398
1 parent a9642b4 commit 23fdafe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/TableGen/Record.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ Init *BinOpInit::Fold(Record *CurRec, MultiClass *CurMultiClass) const {
883883
Args.insert(Args.end(), LHSs->begin(), LHSs->end());
884884
Args.insert(Args.end(), RHSs->begin(), RHSs->end());
885885
return ListInit::get(
886-
Args, static_cast<ListRecTy *>(LHSs->getType())->getElementType());
886+
Args, cast<ListRecTy>(LHSs->getType())->getElementType());
887887
}
888888
break;
889889
}

0 commit comments

Comments
 (0)