not is a keyword in ansi C++, avoid it

llvm-svn: 763
This commit is contained in:
Chris Lattner 2001-10-13 06:51:26 +00:00
parent 2b3369567e
commit 9be166000d
1 changed files with 1 additions and 1 deletions
llvm/lib/VMCore

View File

@ -30,7 +30,7 @@ class TemplateRules : public ConstRules {
// Redirecting functions that cast to the appropriate types // 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); return SubClassName::Not((const ArgType *)V);
} }