Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Commit

Permalink
[TableGen] Replace 'static_cast' with 'cast'.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236398 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
topperc committed May 4, 2015
1 parent dc0b6f2 commit 82b7c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/TableGen/Record.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 82b7c1b

Please sign in to comment.