projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc0b6f2
)
[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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236398
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/TableGen/Record.cpp
patch
|
blob
|
history
diff --git
a/lib/TableGen/Record.cpp
b/lib/TableGen/Record.cpp
index b4fcb473ef86b3b9c8905d11522874344328011d..79b4e33a13da1a7825cb1b74f250d00145500069 100644
(file)
--- a/
lib/TableGen/Record.cpp
+++ b/
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;
}