[llvm] r275963 - Style: drop some unnecessary ';' [NFC]
Tobias Grosser via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 19 02:01:47 PDT 2016
Author: grosser
Date: Tue Jul 19 04:01:46 2016
New Revision: 275963
URL: http://llvm.org/viewvc/llvm-project?rev=275963&view=rev
Log:
Style: drop some unnecessary ';' [NFC]
Modified:
llvm/trunk/include/llvm/IR/Function.h
llvm/trunk/include/llvm/IR/InstrTypes.h
llvm/trunk/include/llvm/IR/Instructions.h
Modified: llvm/trunk/include/llvm/IR/Function.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Function.h?rev=275963&r1=275962&r2=275963&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Function.h (original)
+++ llvm/trunk/include/llvm/IR/Function.h Tue Jul 19 04:01:46 2016
@@ -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 {
Modified: llvm/trunk/include/llvm/IR/InstrTypes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/InstrTypes.h?rev=275963&r1=275962&r2=275963&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/InstrTypes.h (original)
+++ llvm/trunk/include/llvm/IR/InstrTypes.h Tue Jul 19 04:01:46 2016
@@ -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.
Modified: llvm/trunk/include/llvm/IR/Instructions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Instructions.h?rev=275963&r1=275962&r2=275963&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Instructions.h (original)
+++ llvm/trunk/include/llvm/IR/Instructions.h Tue Jul 19 04:01:46 2016
@@ -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 {
More information about the llvm-commits
mailing list