projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9642b4
)
[TableGen] Replace 'static_cast' with 'cast'.
author
Craig Topper
<craig.topper@gmail.com>
Mon, 4 May 2015 01:35:42 +0000
(
01:35
+0000)
committer
Craig Topper
<craig.topper@gmail.com>
Mon, 4 May 2015 01:35:42 +0000
(
01:35
+0000)
llvm-svn: 236398
llvm/lib/TableGen/Record.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/TableGen/Record.cpp
b/llvm/lib/TableGen/Record.cpp
index
b4fcb47
..
79b4e33
100644
(file)
--- a/
llvm/lib/TableGen/Record.cpp
+++ b/
llvm/lib/TableGen/Record.cpp
@@
-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;
}