diff --git a/llvm/include/llvm/CodeGen/AsmPrinter.h b/llvm/include/llvm/CodeGen/AsmPrinter.h --- a/llvm/include/llvm/CodeGen/AsmPrinter.h +++ b/llvm/include/llvm/CodeGen/AsmPrinter.h @@ -243,10 +243,10 @@ // with a given basic block. Falls back to getCurExceptionSym() if no // association is found. MCSymbol *getExceptionSym(const MachineBasicBlock *MBB) { - auto r = ExceptionSymbols.find(MBB); - if (r == ExceptionSymbols.end()) + auto R = ExceptionSymbols.find(MBB); + if (R == ExceptionSymbols.end()) return getCurExceptionSym(); - return r->second; + return R->second; } /// Return information about object file lowering.