From 0307cd59e0a48adeb9b69e3270dfe3625e7e2954 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Mon, 6 Jul 2009 22:26:23 +0000 Subject: [PATCH] Unbreak build by including header. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74870 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Analysis/PathSensitive/Store.h | 18 +++++++++++------- 1 file 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? -- 2.40.0