aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCWin64EH.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-08-28 23:29:00 -0700
committerKazu Hirata <kazu@google.com>2022-08-28 23:29:00 -0700
commit0e9d37ff95b5c574a8fde65bb176691e1a17d70d (patch)
tree9c939966348be8c7d7fb21900dabaeb7826284a0 /llvm/lib/MC/MCWin64EH.cpp
parent8feb60756c7c5d083bf0396dcd6d34e84bca8bc1 (diff)
downloadllvm-0e9d37ff95b5c574a8fde65bb176691e1a17d70d.zip
llvm-0e9d37ff95b5c574a8fde65bb176691e1a17d70d.tar.gz
llvm-0e9d37ff95b5c574a8fde65bb176691e1a17d70d.tar.bz2
[llvm] Qualify auto in range-based for loops (NFC)
Diffstat (limited to 'llvm/lib/MC/MCWin64EH.cpp')
-rw-r--r--llvm/lib/MC/MCWin64EH.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCWin64EH.cpp b/llvm/lib/MC/MCWin64EH.cpp
index ff1c1ad..29a9adb 100644
--- a/llvm/lib/MC/MCWin64EH.cpp
+++ b/llvm/lib/MC/MCWin64EH.cpp
@@ -948,7 +948,7 @@ static void ARM64ProcessEpilogs(WinEH::FrameInfo *info,
// Epilogs processed so far.
std::vector<MCSymbol *> AddedEpilogs;
- for (auto S : EpilogStarts) {
+ for (auto *S : EpilogStarts) {
MCSymbol *EpilogStart = S;
auto &EpilogInstrs = info->EpilogMap[S].Instructions;
uint32_t CodeBytes = ARM64CountOfUnwindCodes(EpilogInstrs);