[cfe-commits] r74786 - /cfe/trunk/include/clang/Analysis/PathSensitive/MemRegion.h

Zhongxing Xu xuzhongxing at gmail.com
Sat Jul 4 04:32:00 PDT 2009


Author: zhongxingxu
Date: Sat Jul  4 06:31:53 2009
New Revision: 74786

URL: http://llvm.org/viewvc/llvm-project?rev=74786&view=rev
Log:
StringRegion is not boundable.

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

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

==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/MemRegion.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/MemRegion.h Sat Jul  4 06:31:53 2009
@@ -320,6 +320,8 @@
     return Str->getType();
   }
 
+  bool isBoundable() const { return false; }
+
   void Profile(llvm::FoldingSetNodeID& ID) const {
     ProfileRegion(ID, Str, superRegion);
   }
@@ -389,7 +391,7 @@
   QualType getValueType(ASTContext& C) const {
     return C.getCanonicalType(CL->getType());
   }
-  
+
   void Profile(llvm::FoldingSetNodeID& ID) const;
   
   void print(llvm::raw_ostream& os) const;





More information about the cfe-commits mailing list