1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

[TableGen] Convert VarDef to range_loop. NFC.

llvm-svn: 315321
This commit is contained in:
Javed Absar 2017-10-10 15:58:45 +00:00
parent 53fab7b0ac
commit 15e3faa705

View File

@ -1099,8 +1099,8 @@ void PredTransitions::getIntersectingVariants(
if (AliasRW.HasVariants) {
const RecVec VarDefs = AliasRW.TheDef->getValueAsListOfDefs("Variants");
for (RecIter RI = VarDefs.begin(), RE = VarDefs.end(); RI != RE; ++RI)
Variants.push_back(TransVariant(*RI, AliasRW.Index, AliasProcIdx, 0));
for (Record *VD : VarDefs)
Variants.push_back(TransVariant(VD, AliasRW.Index, AliasProcIdx, 0));
}
if (AliasRW.IsSequence) {
Variants.push_back(