summaryrefslogtreecommitdiffstats
path: root/lib/VMCore/ConstantFolding.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-13 06:30:39 +0000
committerChris Lattner <sabre@nondot.org>2001-10-13 06:30:39 +0000
commit0b693fb1251bd39f123f9f88ac43d86152f29720 (patch)
treef48483123cb9e228303f88b1ce4b17b18713c2ed /lib/VMCore/ConstantFolding.h
parentda47526737c111128e34b9627a3beea1a68bd93e (diff)
downloadexternal_llvm-0b693fb1251bd39f123f9f88ac43d86152f29720.zip
external_llvm-0b693fb1251bd39f123f9f88ac43d86152f29720.tar.gz
external_llvm-0b693fb1251bd39f123f9f88ac43d86152f29720.tar.bz2
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
Diffstat (limited to 'lib/VMCore/ConstantFolding.h')
-rw-r--r--lib/VMCore/ConstantFolding.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/ConstantFolding.h b/lib/VMCore/ConstantFolding.h
index cbb9789..9ce1b2c 100644
--- a/lib/VMCore/ConstantFolding.h
+++ b/lib/VMCore/ConstantFolding.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);
}