[polly] r208208 - Remove superflous semicolon

Tobias Grosser tobias at grosser.es
Wed May 7 06:49:14 PDT 2014


Author: grosser
Date: Wed May  7 08:49:14 2014
New Revision: 208208

URL: http://llvm.org/viewvc/llvm-project?rev=208208&view=rev
Log:
Remove superflous semicolon

Modified:
    polly/trunk/include/polly/ScopDetectionDiagnostic.h

Modified: polly/trunk/include/polly/ScopDetectionDiagnostic.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/ScopDetectionDiagnostic.h?rev=208208&r1=208207&r2=208208&view=diff
==============================================================================
--- polly/trunk/include/polly/ScopDetectionDiagnostic.h (original)
+++ polly/trunk/include/polly/ScopDetectionDiagnostic.h Wed May  7 08:49:14 2014
@@ -63,7 +63,7 @@ template <typename T> std::string operat
 class RejectReason {
   //===--------------------------------------------------------------------===//
 public:
-  virtual ~RejectReason() {};
+  virtual ~RejectReason() {}
 
   /// @brief Generate a reasonable diagnostic message describing this error.
   ///
@@ -86,7 +86,7 @@ class ReportNonBranchTerminator : public
   BasicBlock *BB;
 
 public:
-  ReportNonBranchTerminator(BasicBlock *BB) : BB(BB) {};
+  ReportNonBranchTerminator(BasicBlock *BB) : BB(BB) {}
 
   /// @name RejectReason interface
   //@{
@@ -105,7 +105,7 @@ class ReportCondition : public ReportCFG
   BasicBlock *BB;
 
 public:
-  ReportCondition(BasicBlock *BB) : BB(BB) {};
+  ReportCondition(BasicBlock *BB) : BB(BB) {}
 
   /// @name RejectReason interface
   //@{
@@ -135,7 +135,7 @@ class ReportUndefCond : public ReportAff
   BasicBlock *BB;
 
 public:
-  ReportUndefCond(BasicBlock *BB) : BB(BB) {};
+  ReportUndefCond(BasicBlock *BB) : BB(BB) {}
 
   /// @name RejectReason interface
   //@{
@@ -156,7 +156,7 @@ class ReportInvalidCond : public ReportA
   BasicBlock *BB;
 
 public:
-  ReportInvalidCond(BasicBlock *BB) : BB(BB) {};
+  ReportInvalidCond(BasicBlock *BB) : BB(BB) {}
 
   /// @name RejectReason interface
   //@{
@@ -176,7 +176,7 @@ class ReportUndefOperand : public Report
   BasicBlock *BB;
 
 public:
-  ReportUndefOperand(BasicBlock *BB) : BB(BB) {};
+  ReportUndefOperand(BasicBlock *BB) : BB(BB) {}
 
   /// @name RejectReason interface
   //@{
@@ -202,7 +202,7 @@ class ReportNonAffBranch : public Report
 
 public:
   ReportNonAffBranch(BasicBlock *BB, const SCEV *LHS, const SCEV *RHS)
-      : BB(BB), LHS(LHS), RHS(RHS) {};
+      : BB(BB), LHS(LHS), RHS(RHS) {}
 
   /// @name RejectReason interface
   //@{
@@ -244,7 +244,7 @@ class ReportVariantBasePtr : public Repo
   Value *BaseValue;
 
 public:
-  ReportVariantBasePtr(Value *BaseValue) : BaseValue(BaseValue) {};
+  ReportVariantBasePtr(Value *BaseValue) : BaseValue(BaseValue) {}
 
   /// @name RejectReason interface
   //@{
@@ -264,7 +264,7 @@ class ReportNonAffineAccess : public Rep
 
 public:
   ReportNonAffineAccess(const SCEV *AccessFunction)
-      : AccessFunction(AccessFunction) {};
+      : AccessFunction(AccessFunction) {}
 
   /// @name RejectReason interface
   //@{
@@ -294,7 +294,7 @@ class ReportPhiNodeRefInRegion : public
   Instruction *Inst;
 
 public:
-  ReportPhiNodeRefInRegion(Instruction *Inst) : Inst(Inst) {};
+  ReportPhiNodeRefInRegion(Instruction *Inst) : Inst(Inst) {}
 
   /// @name RejectReason interface
   //@{
@@ -313,7 +313,7 @@ class ReportNonCanonicalPhiNode : public
   Instruction *Inst;
 
 public:
-  ReportNonCanonicalPhiNode(Instruction *Inst) : Inst(Inst) {};
+  ReportNonCanonicalPhiNode(Instruction *Inst) : Inst(Inst) {}
 
   /// @name RejectReason interface
   //@{
@@ -332,7 +332,7 @@ class ReportLoopHeader : public ReportIn
   Loop *L;
 
 public:
-  ReportLoopHeader(Loop *L) : L(L) {};
+  ReportLoopHeader(Loop *L) : L(L) {}
 
   /// @name RejectReason interface
   //@{
@@ -371,7 +371,7 @@ class ReportLoopBound : public RejectRea
 public:
   ReportLoopBound(Loop *L, const SCEV *LoopCount) : L(L), LoopCount(LoopCount) {
     ++BadLoopBoundForScop;
-  };
+  }
 
   /// @name RejectReason interface
   //@{
@@ -391,9 +391,7 @@ class ReportFuncCall : public RejectReas
   Instruction *Inst;
 
 public:
-  ReportFuncCall(Instruction *Inst) : Inst(Inst) {
-    ++BadFuncCallForScop;
-  };
+  ReportFuncCall(Instruction *Inst) : Inst(Inst) { ++BadFuncCallForScop; }
 
   /// @name RejectReason interface
   //@{
@@ -492,7 +490,7 @@ class ReportIntToPtr : public ReportOthe
   Value *BaseValue;
 
 public:
-  ReportIntToPtr(Value *BaseValue) : BaseValue(BaseValue) {};
+  ReportIntToPtr(Value *BaseValue) : BaseValue(BaseValue) {}
 
   /// @name RejectReason interface
   //@{
@@ -509,7 +507,7 @@ class ReportAlloca : public ReportOther
   Instruction *Inst;
 
 public:
-  ReportAlloca(Instruction *Inst) : Inst(Inst) {};
+  ReportAlloca(Instruction *Inst) : Inst(Inst) {}
 
   /// @name RejectReason interface
   //@{
@@ -524,7 +522,7 @@ class ReportUnknownInst : public ReportO
   Instruction *Inst;
 
 public:
-  ReportUnknownInst(Instruction *Inst) : Inst(Inst) {};
+  ReportUnknownInst(Instruction *Inst) : Inst(Inst) {}
 
   /// @name RejectReason interface
   //@{





More information about the llvm-commits mailing list