[PATCH] D45496: [LLVM-C] Add Missing 'break's in InlineAsm bindings

Robert Widmann via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 10 11:13:19 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL329731: [LLVM-C] Add Missing 'break's in InlineAsm bindings (authored by CodaFi, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D45496?vs=141878&id=141881#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D45496

Files:
  llvm/trunk/lib/IR/Core.cpp


Index: llvm/trunk/lib/IR/Core.cpp
===================================================================
--- llvm/trunk/lib/IR/Core.cpp
+++ llvm/trunk/lib/IR/Core.cpp
@@ -331,8 +331,10 @@
   switch (Dialect) {
   case LLVMInlineAsmDialectATT:
     AD = InlineAsm::AD_ATT;
+    break;
   case LLVMInlineAsmDialectIntel:
     AD = InlineAsm::AD_Intel;
+    break;
   }
   return wrap(InlineAsm::get(unwrap<FunctionType>(Ty),
                              StringRef(AsmString, AsmStringSize),


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45496.141881.patch
Type: text/x-patch
Size: 487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180410/b3232c73/attachment.bin>


More information about the llvm-commits mailing list