not is a keyword in ansi C++, avoid it
authorChris Lattner <sabre@nondot.org>
Sat, 13 Oct 2001 06:51:26 +0000 (06:51 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 13 Oct 2001 06:51:26 +0000 (06:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@763 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/ConstantFold.cpp

index c899d7d1f3ddcba2d003bcca88c9f9536f795b61..67a598cf2327d7abcd5b0f0c9509354c42d5bd17 100644 (file)
@@ -30,7 +30,7 @@ class TemplateRules : public ConstRules {
   // Redirecting functions that cast to the appropriate types
   //===--------------------------------------------------------------------===//
 
-  virtual ConstPoolVal *not(const ConstPoolVal *V) const {
+  virtual ConstPoolVal *op_not(const ConstPoolVal *V) const {
     return SubClassName::Not((const ArgType *)V);
   }