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

llvm-svn: 748
This commit is contained in:
Chris Lattner 2001-10-13 06:30:39 +00:00
parent 1c36d74dec
commit b18fe4e577
1 changed files with 2 additions and 2 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);
}