OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
772b1aa
)
[TableGen] Convert VarDef to range_loop. NFC.
author
Javed Absar
<javed.absar@arm.com>
Tue, 10 Oct 2017 15:58:45 +0000
(15:58 +0000)
committer
Javed Absar
<javed.absar@arm.com>
Tue, 10 Oct 2017 15:58:45 +0000
(15:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315321
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/CodeGenSchedule.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/CodeGenSchedule.cpp
b/utils/TableGen/CodeGenSchedule.cpp
index
7ceea0e
..
a8a476a
100644
(file)
--- a/
utils/TableGen/CodeGenSchedule.cpp
+++ b/
utils/TableGen/CodeGenSchedule.cpp
@@
-1099,8
+1099,8
@@
void PredTransitions::getIntersectingVariants(
if (AliasRW.HasVariants) {
const RecVec VarDefs = AliasRW.TheDef->getValueAsListOfDefs("Variants");
- for (Rec
Iter RI = VarDefs.begin(), RE = VarDefs.end(); RI != RE; ++RI
)
- Variants.push_back(TransVariant(
*RI
, AliasRW.Index, AliasProcIdx, 0));
+ for (Rec
ord *VD : VarDefs
)
+ Variants.push_back(TransVariant(
VD
, AliasRW.Index, AliasProcIdx, 0));
}
if (AliasRW.IsSequence) {
Variants.push_back(