summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/GRSimpleVals.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-07-18 15:27:58 +0000
committerTed Kremenek <kremenek@apple.com>2008-07-18 15:27:58 +0000
commit91614e6fe6292d0344a98cddb764590ea945fd1b (patch)
tree56d6caa85db5749101920a3734c3a8880ad0e3d3 /clang/lib/Analysis/GRSimpleVals.h
parent8d6b42e096702c36bd045a145c8dc7e1271c585d (diff)
downloadbcm5719-llvm-91614e6fe6292d0344a98cddb764590ea945fd1b.tar.gz
bcm5719-llvm-91614e6fe6292d0344a98cddb764590ea945fd1b.zip
Renamed deterministic EvalBinOp to DetermEvalBinOpNN. This name mangling is unfortunately needed because virtual methods with the same name can be hidden by subclasses.
llvm-svn: 53751
Diffstat (limited to 'clang/lib/Analysis/GRSimpleVals.h')
-rw-r--r--clang/lib/Analysis/GRSimpleVals.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/clang/lib/Analysis/GRSimpleVals.h b/clang/lib/Analysis/GRSimpleVals.h
index fc20c3e5bc8..ac07f8b3241 100644
--- a/clang/lib/Analysis/GRSimpleVals.h
+++ b/clang/lib/Analysis/GRSimpleVals.h
@@ -25,6 +25,12 @@ class PathDiagnostic;
class ASTContext;
class GRSimpleVals : public GRTransferFuncs {
+protected:
+
+ virtual RVal DetermEvalBinOpNN(ValueStateManager& StateMgr,
+ BinaryOperator::Opcode Op,
+ NonLVal L, NonLVal R);
+
public:
GRSimpleVals() {}
virtual ~GRSimpleVals() {}
@@ -44,9 +50,6 @@ public:
// Binary Operators.
- virtual RVal EvalBinOp(ValueStateManager& StateMgr, BinaryOperator::Opcode Op,
- NonLVal L, NonLVal R);
-
virtual RVal EvalBinOp(GRExprEngine& Engine, BinaryOperator::Opcode Op,
LVal L, LVal R);
OpenPOWER on IntegriCloud