not is a keyword in Ansi C++. Avoid it

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@748 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2001-10-13 06:30:39 +00:00
parent da47526737
commit 0b693fb125
3 changed files with 6 additions and 6 deletions

View File

@ -65,7 +65,7 @@ public:
static AnnotationID AID; // AnnotationID for this class
// Unary Operators...
virtual ConstPoolVal *not(const ConstPoolVal *V) const = 0;
virtual ConstPoolVal *op_not(const ConstPoolVal *V) const = 0;
// Binary Operators...
virtual ConstPoolVal *add(const ConstPoolVal *V1,
@ -124,7 +124,7 @@ private :
inline ConstPoolVal *operator!(const ConstPoolVal &V) {
return ConstRules::get(V)->not(&V);
return ConstRules::get(V)->op_not(&V);
}

View File

@ -65,7 +65,7 @@ public:
static AnnotationID AID; // AnnotationID for this class
// Unary Operators...
virtual ConstPoolVal *not(const ConstPoolVal *V) const = 0;
virtual ConstPoolVal *op_not(const ConstPoolVal *V) const = 0;
// Binary Operators...
virtual ConstPoolVal *add(const ConstPoolVal *V1,
@ -124,7 +124,7 @@ private :
inline ConstPoolVal *operator!(const ConstPoolVal &V) {
return ConstRules::get(V)->not(&V);
return ConstRules::get(V)->op_not(&V);
}

View File

@ -65,7 +65,7 @@ public:
static AnnotationID AID; // AnnotationID for this class
// Unary Operators...
virtual ConstPoolVal *not(const ConstPoolVal *V) const = 0;
virtual ConstPoolVal *op_not(const ConstPoolVal *V) const = 0;
// Binary Operators...
virtual ConstPoolVal *add(const ConstPoolVal *V1,
@ -124,7 +124,7 @@ private :
inline ConstPoolVal *operator!(const ConstPoolVal &V) {
return ConstRules::get(V)->not(&V);
return ConstRules::get(V)->op_not(&V);
}