From 108f89cbfa19f59711d4c559a173fdf4e2e57291 Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Sat, 4 Jul 2009 11:31:53 +0000 Subject: [PATCH] StringRegion is not boundable. llvm-svn: 74786 --- clang/include/clang/Analysis/PathSensitive/MemRegion.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clang/include/clang/Analysis/PathSensitive/MemRegion.h b/clang/include/clang/Analysis/PathSensitive/MemRegion.h index dd850dad9d9e..61522cbe059e 100644 --- a/clang/include/clang/Analysis/PathSensitive/MemRegion.h +++ b/clang/include/clang/Analysis/PathSensitive/MemRegion.h @@ -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;