llvm.org GIT mirror llvm / 0cd071c
[TableGen] Use range based for loop. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328034 91177308-0d34-0410-b5e6-96231b3b80d8 Craig Topper 2 years ago
1 changed file(s) with 2 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
14381438 // Iterate until no variant writes remain.
14391439 while (hasVariant(LastTransitions, *this)) {
14401440 PredTransitions Transitions(*this);
1441 for (std::vector::const_iterator
1442 I = LastTransitions.begin(), E = LastTransitions.end();
1443 I != E; ++I) {
1444 Transitions.substituteVariants(*I);
1445 }
1441 for (const PredTransition &Trans : LastTransitions)
1442 Transitions.substituteVariants(Trans);
14461443 DEBUG(Transitions.dump());
14471444 LastTransitions.swap(Transitions.TransVec);
14481445 }