[PATCH] D33931: [ARM] Add curly braces around switch case [NFC]

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 03:23:24 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL304785: [ARM] Add curly braces around switch case [NFC]     (authored by psmith).

Changed prior to commit:
  https://reviews.llvm.org/D33931?vs=101528&id=101532#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D33931

Files:
  llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp


Index: llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
===================================================================
--- llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
+++ llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
@@ -695,7 +695,7 @@
       return 0;
     }
     return Value;
-  case ARM::fixup_t2_so_imm:
+  case ARM::fixup_t2_so_imm: {
     Value = ARM_AM::getT2SOImmVal(Value);
     if ((int64_t)Value < 0) {
       Ctx.reportError(Fixup.getLoc(), "out of range immediate fixup value");
@@ -712,6 +712,7 @@
     EncValue |= (Value & 0xff);
     return swapHalfWords(EncValue, IsLittleEndian);
   }
+  }
 }
 
 void ARMAsmBackend::processFixupValue(const MCAssembler &Asm,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33931.101532.patch
Type: text/x-patch
Size: 715 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170606/768bcb80/attachment.bin>


More information about the llvm-commits mailing list