aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-07-06 22:26:23 +0000
committerTed Kremenek <kremenek@apple.com>2009-07-06 22:26:23 +0000
commit0307cd59e0a48adeb9b69e3270dfe3625e7e2954 (patch)
tree3100607a1e3ab4bd181dfc01caac4f9ad3e31460
parent411af40d038947b6d2a8ad9549c85c1c4c52d15a (diff)
Unbreak build by including header.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74870 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Analysis/PathSensitive/Store.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/include/clang/Analysis/PathSensitive/Store.h b/include/clang/Analysis/PathSensitive/Store.h
index 35be4c0d93..1561a19f0a 100644
--- a/include/clang/Analysis/PathSensitive/Store.h
+++ b/include/clang/Analysis/PathSensitive/Store.h
@@ -139,12 +139,6 @@ public:
return UseNewCastRegion ? NewCastRegion(state, region, CastToTy)
: OldCastRegion(state, region, CastToTy);
}
-
- CastResult NewCastRegion(const GRState *state, const MemRegion *region,
- QualType CastToTy);
-
- CastResult OldCastRegion(const GRState *state, const MemRegion *region,
- QualType CastToTy);
virtual const GRState *setCastType(const GRState *state, const MemRegion* R,
QualType T) {
@@ -198,7 +192,17 @@ public:
};
/// iterBindings - Iterate over the bindings in the Store.
- virtual void iterBindings(Store store, BindingsHandler& f) = 0;
+ virtual void iterBindings(Store store, BindingsHandler& f) = 0;
+
+private:
+ CastResult MakeElementRegion(const GRState *state, const MemRegion *region,
+ QualType pointeeTy, QualType castToTy);
+
+ CastResult NewCastRegion(const GRState *state, const MemRegion *region,
+ QualType CastToTy);
+
+ CastResult OldCastRegion(const GRState *state, const MemRegion *region,
+ QualType CastToTy);
};
// FIXME: Do we still need this?