]> granicus.if.org Git - clang/commitdiff
Unbreak build by including header.
authorTed Kremenek <kremenek@apple.com>
Mon, 6 Jul 2009 22:26:23 +0000 (22:26 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 6 Jul 2009 22:26:23 +0000 (22:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74870 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/PathSensitive/Store.h

index 35be4c0d93e167133b5e8543b241ef7a13b69a08..1561a19f0a3f1c593a227a13c347c646fccbb152 100644 (file)
@@ -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?