diff options
author | Ali Tamur <tamur@google.com> | 2019-04-10 18:30:03 +0000 |
---|---|---|
committer | Ali Tamur <tamur@google.com> | 2019-04-10 18:30:03 +0000 |
commit | 59a0e047015b5f63f1d21c9fb2525348748a947c (patch) | |
tree | b627d7c7e8a6b4995bf3212e3c3fb19b0b93a7af /llvm/lib/MC/MCAsmStreamer.cpp | |
parent | 5a736c9bbf0b2076b2a4ee629aca2cc2885529fb (diff) | |
download | bcm5719-llvm-59a0e047015b5f63f1d21c9fb2525348748a947c.tar.gz bcm5719-llvm-59a0e047015b5f63f1d21c9fb2525348748a947c.zip |
[llvm] Non-functional change: declared a local variable as const.
llvm-svn: 358120
Diffstat (limited to 'llvm/lib/MC/MCAsmStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCAsmStreamer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCAsmStreamer.cpp b/llvm/lib/MC/MCAsmStreamer.cpp index 4785d3eb790..ef5c4666d92 100644 --- a/llvm/lib/MC/MCAsmStreamer.cpp +++ b/llvm/lib/MC/MCAsmStreamer.cpp @@ -1911,7 +1911,7 @@ void MCAsmStreamer::FinishImpl() { // Emit the label for the line table, if requested - since the rest of the // line table will be defined by .loc/.file directives, and not emitted // directly, the label is the only work required here. - auto &Tables = getContext().getMCDwarfLineTables(); + const auto &Tables = getContext().getMCDwarfLineTables(); if (!Tables.empty()) { assert(Tables.size() == 1 && "asm output only supports one line table"); if (auto *Label = Tables.begin()->second.getLabel()) { |