From d159c688aa56c367de41efbcc667bfa9e2cb7bbd Mon Sep 17 00:00:00 2001 From: Mandeep Singh Grang Date: Wed, 28 Jun 2017 23:15:16 +0000 Subject: [PATCH] [NFC] Remove multiple semicolons Reviewers: bogner, whitequark, mgrang Reviewed By: mgrang Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D34785 llvm-svn: 306613 --- llvm/bindings/ocaml/target/target_ocaml.c | 2 +- llvm/tools/bugpoint/ToolRunner.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/bindings/ocaml/target/target_ocaml.c b/llvm/bindings/ocaml/target/target_ocaml.c index b63bef6d3d5b..8872f42b5b68 100644 --- a/llvm/bindings/ocaml/target/target_ocaml.c +++ b/llvm/bindings/ocaml/target/target_ocaml.c @@ -77,7 +77,7 @@ CAMLprim value llvm_datalayout_pointer_size(value DL) { /* 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 */ diff --git a/llvm/tools/bugpoint/ToolRunner.cpp b/llvm/tools/bugpoint/ToolRunner.cpp index 10532ef8395b..70b18e3dbbf9 100644 --- a/llvm/tools/bugpoint/ToolRunner.cpp +++ b/llvm/tools/bugpoint/ToolRunner.cpp @@ -861,7 +861,7 @@ Error CC::MakeSharedObject(const std::string &InputFile, FileType fileType, 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