[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:09:22 PDT 2018


CodaFi created this revision.
CodaFi added a reviewer: whitequark.
Herald added a subscriber: llvm-commits.

Noticed by Andrea Di Biagio while reviewing r329369


Repository:
  rL LLVM

https://reviews.llvm.org/D45496

Files:
  lib/IR/Core.cpp


Index: lib/IR/Core.cpp
===================================================================
--- lib/IR/Core.cpp
+++ 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.141878.patch
Type: text/x-patch
Size: 454 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180410/e8ef619b/attachment.bin>


More information about the llvm-commits mailing list