[llvm-commits] [llvm] r78934 - /llvm/trunk/include/llvm/Operator.h
Dan Gohman
gohman at apple.com
Thu Aug 13 13:43:14 PDT 2009
Author: djg
Date: Thu Aug 13 15:43:13 2009
New Revision: 78934
URL: http://llvm.org/viewvc/llvm-project?rev=78934&view=rev
Log:
Add unimplemented destructor declarations to hopefully address
compiler warnings on windows (PR4714).
Modified:
llvm/trunk/include/llvm/Operator.h
Modified: llvm/trunk/include/llvm/Operator.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Operator.h?rev=78934&r1=78933&r2=78934&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Operator.h (original)
+++ llvm/trunk/include/llvm/Operator.h Thu Aug 13 15:43:13 2009
@@ -67,6 +67,7 @@
/// despite that operator having the potential for overflow.
///
class OverflowingBinaryOperator : public Operator {
+ ~OverflowingBinaryOperator(); // do not implement
public:
/// hasNoUnsignedOverflow - Test whether this operation is known to never
/// undergo unsigned overflow.
@@ -106,6 +107,7 @@
/// AddOperator - Utility class for integer addition operators.
///
class AddOperator : public OverflowingBinaryOperator {
+ ~AddOperator(); // do not implement
public:
static inline bool classof(const AddOperator *) { return true; }
static inline bool classof(const Instruction *I) {
@@ -123,6 +125,7 @@
/// SubOperator - Utility class for integer subtraction operators.
///
class SubOperator : public OverflowingBinaryOperator {
+ ~SubOperator(); // do not implement
public:
static inline bool classof(const SubOperator *) { return true; }
static inline bool classof(const Instruction *I) {
@@ -140,6 +143,7 @@
/// MulOperator - Utility class for integer multiplication operators.
///
class MulOperator : public OverflowingBinaryOperator {
+ ~MulOperator(); // do not implement
public:
static inline bool classof(const MulOperator *) { return true; }
static inline bool classof(const Instruction *I) {
@@ -157,6 +161,7 @@
/// SDivOperator - An Operator with opcode Instruction::SDiv.
///
class SDivOperator : public Operator {
+ ~SDivOperator(); // do not implement
public:
/// isExact - Test whether this division is known to be exact, with
/// zero remainder.
@@ -182,6 +187,7 @@
};
class GEPOperator : public Operator {
+ ~GEPOperator(); // do not implement
public:
/// isInBounds - Test whether this is an inbounds GEP, as defined
/// by LangRef.html.
More information about the llvm-commits
mailing list