[PATCH] D34785: [NFC] Remove multiple semicolons

Mandeep Singh Grang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 28 16:09:04 PDT 2017


mgrang created this revision.
Herald added a reviewer: whitequark.

Repository:
  rL LLVM

https://reviews.llvm.org/D34785

Files:
  bindings/ocaml/target/target_ocaml.c
  tools/bugpoint/ToolRunner.cpp


Index: tools/bugpoint/ToolRunner.cpp
===================================================================
--- tools/bugpoint/ToolRunner.cpp
+++ tools/bugpoint/ToolRunner.cpp
@@ -861,7 +861,7 @@
         errs() << "\n";);
   if (RunProgramWithTimeout(CCPath, &CCArgs[0], "", "", ""))
     return ProcessFailure(CCPath, &CCArgs[0]);
-  return Error::success();;
+  return Error::success();
 }
 
 /// create - Try to find the CC executable
Index: bindings/ocaml/target/target_ocaml.c
===================================================================
--- bindings/ocaml/target/target_ocaml.c
+++ bindings/ocaml/target/target_ocaml.c
@@ -77,7 +77,7 @@
 
 /* Llvm.llcontext -> DataLayout.t -> Llvm.lltype */
 CAMLprim LLVMTypeRef llvm_datalayout_intptr_type(LLVMContextRef C, value DL) {
-  return LLVMIntPtrTypeInContext(C, DataLayout_val(DL));;
+  return LLVMIntPtrTypeInContext(C, DataLayout_val(DL));
 }
 
 /* int -> DataLayout.t -> int */


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34785.104537.patch
Type: text/x-patch
Size: 939 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170628/4d830f8b/attachment.bin>


More information about the llvm-commits mailing list