]> granicus.if.org Git - clang/commitdiff
StringRegion is not boundable.
authorZhongxing Xu <xuzhongxing@gmail.com>
Sat, 4 Jul 2009 11:31:53 +0000 (11:31 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Sat, 4 Jul 2009 11:31:53 +0000 (11:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74786 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/PathSensitive/MemRegion.h

index dd850dad9d9e759712c70c1e220fe7697805cfc2..61522cbe059e8d4307a4c98994f31b24e2bf3e53 100644 (file)
@@ -320,6 +320,8 @@ public:
     return Str->getType();
   }
 
+  bool isBoundable() const { return false; }
+
   void Profile(llvm::FoldingSetNodeID& ID) const {
     ProfileRegion(ID, Str, superRegion);
   }
@@ -389,7 +391,7 @@ public:
   QualType getValueType(ASTContext& C) const {
     return C.getCanonicalType(CL->getType());
   }
-  
+
   void Profile(llvm::FoldingSetNodeID& ID) const;
   
   void print(llvm::raw_ostream& os) const;