From 3a49a8e13c871c29ccae44f075fd0075c5837405 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Tue, 19 Jul 2016 09:01:46 +0000 Subject: [PATCH] Style: drop some unnecessary ';' [NFC] llvm-svn: 275963 --- llvm/include/llvm/IR/Function.h | 2 +- llvm/include/llvm/IR/InstrTypes.h | 4 ++-- llvm/include/llvm/IR/Instructions.h | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/llvm/include/llvm/IR/Function.h b/llvm/include/llvm/IR/Function.h index d7d27e7..2b4ce6d 100644 --- a/llvm/include/llvm/IR/Function.h +++ b/llvm/include/llvm/IR/Function.h @@ -431,7 +431,7 @@ public: } /// Optimize this function for minimum size (-Oz). - bool optForMinSize() const { return hasFnAttribute(Attribute::MinSize); }; + bool optForMinSize() const { return hasFnAttribute(Attribute::MinSize); } /// Optimize this function for size (-Os) or minimum size (-Oz). bool optForSize() const { diff --git a/llvm/include/llvm/IR/InstrTypes.h b/llvm/include/llvm/IR/InstrTypes.h index 39514c5..b6a97c2 100644 --- a/llvm/include/llvm/IR/InstrTypes.h +++ b/llvm/include/llvm/IR/InstrTypes.h @@ -1202,7 +1202,7 @@ struct OperandBundleUse { // Conservative answer: no operands have any attributes. return false; - }; + } /// \brief Return the tag of this operand bundle as a string. StringRef getTagName() const { @@ -1471,7 +1471,7 @@ public: return std::equal(bundle_op_info_begin(), bundle_op_info_end(), Other.bundle_op_info_begin()); - }; + } /// \brief Return true if this operand bundle user contains operand bundles /// with tags other than those specified in \p IDs. diff --git a/llvm/include/llvm/IR/Instructions.h b/llvm/include/llvm/IR/Instructions.h index be07772..eb50a56 100644 --- a/llvm/include/llvm/IR/Instructions.h +++ b/llvm/include/llvm/IR/Instructions.h @@ -1566,7 +1566,7 @@ public: op_iterator arg_end() { // [ call args ], [ operand bundles ], callee return op_end() - getNumTotalBundleOperands() - 1; - }; + } /// \brief Iteration adapter for range-for loops. iterator_range arg_operands() { @@ -1580,7 +1580,7 @@ public: const_op_iterator arg_end() const { // [ call args ], [ operand bundles ], callee return op_end() - getNumTotalBundleOperands() - 1; - }; + } /// \brief Iteration adapter for range-for loops. iterator_range arg_operands() const { @@ -3539,7 +3539,7 @@ public: op_iterator arg_end() { // [ invoke args ], [ operand bundles ], normal dest, unwind dest, callee return op_end() - getNumTotalBundleOperands() - 3; - }; + } /// \brief Iteration adapter for range-for loops. iterator_range arg_operands() { @@ -3553,7 +3553,7 @@ public: const_op_iterator arg_end() const { // [ invoke args ], [ operand bundles ], normal dest, unwind dest, callee return op_end() - getNumTotalBundleOperands() - 3; - }; + } /// \brief Iteration adapter for range-for loops. iterator_range arg_operands() const { -- 2.7.4