mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
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:
@@ -65,7 +65,7 @@ public:
|
|||||||
static AnnotationID AID; // AnnotationID for this class
|
static AnnotationID AID; // AnnotationID for this class
|
||||||
|
|
||||||
// Unary Operators...
|
// Unary Operators...
|
||||||
virtual ConstPoolVal *not(const ConstPoolVal *V) const = 0;
|
virtual ConstPoolVal *op_not(const ConstPoolVal *V) const = 0;
|
||||||
|
|
||||||
// Binary Operators...
|
// Binary Operators...
|
||||||
virtual ConstPoolVal *add(const ConstPoolVal *V1,
|
virtual ConstPoolVal *add(const ConstPoolVal *V1,
|
||||||
@@ -124,7 +124,7 @@ private :
|
|||||||
|
|
||||||
|
|
||||||
inline ConstPoolVal *operator!(const ConstPoolVal &V) {
|
inline ConstPoolVal *operator!(const ConstPoolVal &V) {
|
||||||
return ConstRules::get(V)->not(&V);
|
return ConstRules::get(V)->op_not(&V);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -65,7 +65,7 @@ public:
|
|||||||
static AnnotationID AID; // AnnotationID for this class
|
static AnnotationID AID; // AnnotationID for this class
|
||||||
|
|
||||||
// Unary Operators...
|
// Unary Operators...
|
||||||
virtual ConstPoolVal *not(const ConstPoolVal *V) const = 0;
|
virtual ConstPoolVal *op_not(const ConstPoolVal *V) const = 0;
|
||||||
|
|
||||||
// Binary Operators...
|
// Binary Operators...
|
||||||
virtual ConstPoolVal *add(const ConstPoolVal *V1,
|
virtual ConstPoolVal *add(const ConstPoolVal *V1,
|
||||||
@@ -124,7 +124,7 @@ private :
|
|||||||
|
|
||||||
|
|
||||||
inline ConstPoolVal *operator!(const ConstPoolVal &V) {
|
inline ConstPoolVal *operator!(const ConstPoolVal &V) {
|
||||||
return ConstRules::get(V)->not(&V);
|
return ConstRules::get(V)->op_not(&V);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -65,7 +65,7 @@ public:
|
|||||||
static AnnotationID AID; // AnnotationID for this class
|
static AnnotationID AID; // AnnotationID for this class
|
||||||
|
|
||||||
// Unary Operators...
|
// Unary Operators...
|
||||||
virtual ConstPoolVal *not(const ConstPoolVal *V) const = 0;
|
virtual ConstPoolVal *op_not(const ConstPoolVal *V) const = 0;
|
||||||
|
|
||||||
// Binary Operators...
|
// Binary Operators...
|
||||||
virtual ConstPoolVal *add(const ConstPoolVal *V1,
|
virtual ConstPoolVal *add(const ConstPoolVal *V1,
|
||||||
@@ -124,7 +124,7 @@ private :
|
|||||||
|
|
||||||
|
|
||||||
inline ConstPoolVal *operator!(const ConstPoolVal &V) {
|
inline ConstPoolVal *operator!(const ConstPoolVal &V) {
|
||||||
return ConstRules::get(V)->not(&V);
|
return ConstRules::get(V)->op_not(&V);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user