From: Zhongxing Xu Date: Sat, 4 Jul 2009 11:31:53 +0000 (+0000) Subject: StringRegion is not boundable. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a51f1c6cec6032bcf64ce205bc4edfdc3cb3a2f;p=clang StringRegion is not boundable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74786 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/PathSensitive/MemRegion.h b/include/clang/Analysis/PathSensitive/MemRegion.h index dd850dad9d..61522cbe05 100644 --- a/include/clang/Analysis/PathSensitive/MemRegion.h +++ b/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;