mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
not is a keyword in Ansi C++. Avoid it
llvm-svn: 748
This commit is contained in:
parent
a4d1133109
commit
815755f9f9
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user