summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-06-26 00:41:43 +0000
committerTed Kremenek <kremenek@apple.com>2009-06-26 00:41:43 +0000
commitaf1ac826f65ba07a9c170385b30a3f16846cf11c (patch)
tree4ec955f843eca01dc3a9af5ff23e829be312cc08
parentac3b5382b8099d4a3bedf07be605b9175764aa46 (diff)
downloadbcm5719-llvm-af1ac826f65ba07a9c170385b30a3f16846cf11c.tar.gz
bcm5719-llvm-af1ac826f65ba07a9c170385b30a3f16846cf11c.zip
Update method signature.
llvm-svn: 74244
-rw-r--r--clang/lib/Analysis/RegionStore.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/Analysis/RegionStore.cpp b/clang/lib/Analysis/RegionStore.cpp
index 82025877b63..d45048de1a4 100644
--- a/clang/lib/Analysis/RegionStore.cpp
+++ b/clang/lib/Analysis/RegionStore.cpp
@@ -220,7 +220,7 @@ public:
QualType CastToTy);
SVal EvalBinOp(const GRState *state, BinaryOperator::Opcode Op,Loc L,
- NonLoc R);
+ NonLoc R, QualType resultTy);
Store getInitialStore() { return RBFactory.GetEmptyMap().getRoot(); }
@@ -722,7 +722,8 @@ RegionStoreManager::CastRegion(const GRState *state, const MemRegion* R,
//===----------------------------------------------------------------------===//
SVal RegionStoreManager::EvalBinOp(const GRState *state,
- BinaryOperator::Opcode Op, Loc L, NonLoc R) {
+ BinaryOperator::Opcode Op, Loc L, NonLoc R,
+ QualType resultTy) {
// Assume the base location is MemRegionVal.
if (!isa<loc::MemRegionVal>(L))
return UnknownVal();
OpenPOWER on IntegriCloud