Style: drop some unnecessary ';' [NFC]
authorTobias Grosser <tobias@grosser.es>
Tue, 19 Jul 2016 09:01:46 +0000 (09:01 +0000)
committerTobias Grosser <tobias@grosser.es>
Tue, 19 Jul 2016 09:01:46 +0000 (09:01 +0000)
llvm-svn: 275963

llvm/include/llvm/IR/Function.h
llvm/include/llvm/IR/InstrTypes.h
llvm/include/llvm/IR/Instructions.h

index d7d27e7..2b4ce6d 100644 (file)
@@ -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 {
index 39514c5..b6a97c2 100644 (file)
@@ -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.
index be07772..eb50a56 100644 (file)
@@ -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<op_iterator> 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<const_op_iterator> 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<op_iterator> 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<const_op_iterator> arg_operands() const {