From a7a945a13b4326025bb584230050f797fbc0570f Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 28 Apr 2017 21:23:43 +0000 Subject: [PATCH] Rename one of the variables to avoid confusion. llvm-svn: 301691 --- lld/ELF/LinkerScript.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index 13f0f55..be6a0ca 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -635,8 +635,8 @@ void LinkerScript::assignOffsets(OutputSectionCommand *Cmd) { Dot = CurMemRegion->Offset; switchTo(Sec); - for (BaseCommand *Cmd : Cmd->Commands) - process(*Cmd); + for (BaseCommand *C : Cmd->Commands) + process(*C); } void LinkerScript::removeEmptyCommands() { -- 2.7.4