summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/IR/Function.h2
-rw-r--r--llvm/include/llvm/IR/InstrTypes.h4
-rw-r--r--llvm/include/llvm/IR/Instructions.h8
3 files changed, 7 insertions, 7 deletions
diff --git a/llvm/include/llvm/IR/Function.h b/llvm/include/llvm/IR/Function.h
index d7d27e7585c..2b4ce6d7a1b 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 39514c5675a..b6a97c2c473 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 be077725f7b..eb50a56c548 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<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 {
OpenPOWER on IntegriCloud