diff options
| author | Kazu Hirata <kazu@google.com> | 2022-07-17 01:33:28 -0700 |
|---|---|---|
| committer | Kazu Hirata <kazu@google.com> | 2022-07-17 01:33:28 -0700 |
| commit | 9e6d1f4b5d393b8d74640c72b94ccc23ed4ee885 (patch) | |
| tree | 2d46af5667cb6f3ef51b9f382d9dde1f2127f2a9 /llvm/lib/CodeGen/StackMaps.cpp | |
| parent | 6f32e71b540bcba7d228cab344ff73aac1d5b305 (diff) | |
[CodeGen] Qualify auto variables in for loops (NFC)
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/StackMaps.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/StackMaps.cpp b/llvm/lib/CodeGen/StackMaps.cpp index 6757d6ca4f88..ccaff862fa3f 100644 --- a/llvm/lib/CodeGen/StackMaps.cpp +++ b/llvm/lib/CodeGen/StackMaps.cpp @@ -365,7 +365,7 @@ StackMaps::parseRegisterLiveOutMask(const uint32_t *Mask) const { }); for (auto I = LiveOuts.begin(), E = LiveOuts.end(); I != E; ++I) { - for (auto II = std::next(I); II != E; ++II) { + for (auto *II = std::next(I); II != E; ++II) { if (I->DwarfRegNum != II->DwarfRegNum) { // Skip all the now invalid entries. I = --II; |
