aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCWin64EH.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-08-07 23:55:27 -0700
committerKazu Hirata <kazu@google.com>2022-08-07 23:55:27 -0700
commite20d210eef92f3952de0e89ef2f01a146480a13b (patch)
treedd2a1a4b21f9e67a73b66bf7080ffec123823982 /llvm/lib/MC/MCWin64EH.cpp
parent1dd8a318544bdf4d06b337340d678df06e4f2f0a (diff)
downloadllvm-e20d210eef92f3952de0e89ef2f01a146480a13b.zip
llvm-e20d210eef92f3952de0e89ef2f01a146480a13b.tar.gz
llvm-e20d210eef92f3952de0e89ef2f01a146480a13b.tar.bz2
[llvm] Qualify auto (NFC)
Identified with readability-qualified-auto.
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 b22c02d..e77cc70 100644
--- a/llvm/lib/MC/MCWin64EH.cpp
+++ b/llvm/lib/MC/MCWin64EH.cpp
@@ -2360,7 +2360,7 @@ static void ARM64EmitRuntimeFunction(MCStreamer &streamer,
MCContext &context = streamer.getContext();
streamer.emitValueToAlignment(4);
- for (auto &S : info->Segments) {
+ for (const auto &S : info->Segments) {
EmitSymbolRefWithOfs(streamer, info->Begin, S.Offset);
if (info->PackedInfo)
streamer.emitInt32(info->PackedInfo);