summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-13 06:51:26 +0000
committerChris Lattner <sabre@nondot.org>2001-10-13 06:51:26 +0000
commit9be166000d6636994ddd382e56faa071d85053cc (patch)
treef6b5e8099ab5a3135d2559e7c37605135be8d8d8
parent2b3369567e949c2fb4b0cf44d81719e6526c5567 (diff)
downloadbcm5719-llvm-9be166000d6636994ddd382e56faa071d85053cc.tar.gz
bcm5719-llvm-9be166000d6636994ddd382e56faa071d85053cc.zip
not is a keyword in ansi C++, avoid it
llvm-svn: 763
-rw-r--r--llvm/lib/VMCore/ConstantHandling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/ConstantHandling.cpp b/llvm/lib/VMCore/ConstantHandling.cpp
index c899d7d1f3d..67a598cf232 100644
--- a/llvm/lib/VMCore/ConstantHandling.cpp
+++ b/llvm/lib/VMCore/ConstantHandling.cpp
@@ -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);
}
OpenPOWER on IntegriCloud