]> granicus.if.org Git - clang/commitdiff
AllocaRegion and SymbolicRegion are both boundable.
authorZhongxing Xu <xuzhongxing@gmail.com>
Mon, 6 Jul 2009 05:34:56 +0000 (05:34 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Mon, 6 Jul 2009 05:34:56 +0000 (05:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74815 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/PathSensitive/MemRegion.h

index 5926229e517c3db1961a63fe567c7cd9ebb70fba..376c44039899b4dd722d6f365d3538175586fa59 100644 (file)
@@ -155,7 +155,9 @@ protected:
 public:
   
   const Expr* getExpr() const { return Ex; }
-  
+
+  bool isBoundable() const { return true; }
+
   void Profile(llvm::FoldingSetNodeID& ID) const;
 
   static void ProfileRegion(llvm::FoldingSetNodeID& ID, const Expr* Ex,
@@ -286,6 +288,8 @@ public:
     return sym;
   }
 
+  bool isBoundable() const { return true; }
+
   void Profile(llvm::FoldingSetNodeID& ID) const;
 
   static void ProfileRegion(llvm::FoldingSetNodeID& ID,