From b18fe4e5779988e00bb4c3300a4858c7f4d46f0a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 13 Oct 2001 06:30:39 +0000 Subject: [PATCH] not is a keyword in Ansi C++. Avoid it llvm-svn: 748 --- llvm/include/llvm/ConstantHandling.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/ConstantHandling.h b/llvm/include/llvm/ConstantHandling.h index cbb9789fb0ea..9ce1b2cb0871 100644 --- a/llvm/include/llvm/ConstantHandling.h +++ b/llvm/include/llvm/ConstantHandling.h @@ -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); }