[PATCH] D73739: Exception support for basic block sections

Rahman Lavaee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 4 22:55:15 PDT 2020


rahmanl updated this revision to Diff 283129.
rahmanl added a comment.

Fix case style.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73739/new/

https://reviews.llvm.org/D73739

Files:
  llvm/include/llvm/CodeGen/AsmPrinter.h


Index: llvm/include/llvm/CodeGen/AsmPrinter.h
===================================================================
--- llvm/include/llvm/CodeGen/AsmPrinter.h
+++ 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73739.283129.patch
Type: text/x-patch
Size: 687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200805/b0385fc8/attachment.bin>


More information about the llvm-commits mailing list