mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +00:00
Change range-based for-loops to be -Wrange-loop-analysis clean.
No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234963 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -803,7 +803,7 @@ static void EmitGenDwarfRanges(MCStreamer *MCOS) {
|
||||
|
||||
MCOS->SwitchSection(context.getObjectFileInfo()->getDwarfRangesSection());
|
||||
|
||||
for (const auto sec : Sections) {
|
||||
for (const auto &sec : Sections) {
|
||||
|
||||
MCSymbol *StartSymbol = sec.second.first;
|
||||
MCSymbol *EndSymbol = sec.second.second;
|
||||
|
Reference in New Issue
Block a user