Skip to content

Commit 461d770

Browse files
committed
[Clang][TableGen] Change NeonEmitter to use const Record *
1 parent 8b47711 commit 461d770

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/utils/TableGen/NeonEmitter.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,7 @@ class Intrinsic {
410410
}
411411

412412
int ArgIdx, Kind, TypeArgIdx;
413-
std::vector<Record *> ImmCheckList = R->getValueAsListOfDefs("ImmChecks");
414-
for (const auto *I : ImmCheckList) {
413+
for (const Record *I : R->getValueAsListOfDefs("ImmChecks")) {
415414
unsigned EltSizeInBits = 0, VecSizeInBits = 0;
416415

417416
ArgIdx = I->getValueAsInt("ImmArgIdx");

0 commit comments

Comments
 (0)