1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

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 a4d1133109
commit 815755f9f9

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);
}