[cfe-commits] r74870 - /cfe/trunk/include/clang/Analysis/PathSensitive/Store.h

Ted Kremenek kremenek at apple.com
Mon Jul 6 15:26:24 PDT 2009


Author: kremenek
Date: Mon Jul  6 17:26:23 2009
New Revision: 74870

URL: http://llvm.org/viewvc/llvm-project?rev=74870&view=rev
Log:
Unbreak build by including header.

Modified:
    cfe/trunk/include/clang/Analysis/PathSensitive/Store.h

Modified: cfe/trunk/include/clang/Analysis/PathSensitive/Store.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathSensitive/Store.h?rev=74870&r1=74869&r2=74870&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/Store.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/Store.h Mon Jul  6 17:26:23 2009
@@ -139,12 +139,6 @@
     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 @@
   };
   
   /// 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?





More information about the cfe-commits mailing list