aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-07-04 11:31:53 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-07-04 11:31:53 +0000
commit0a51f1c6cec6032bcf64ce205bc4edfdc3cb3a2f (patch)
treef615a533f22194b33c5faf91327a6257c67b6450
parentc51db23f58bd887b16cf91554aa86c430a2496e7 (diff)
StringRegion is not boundable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74786 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Analysis/PathSensitive/MemRegion.h4
1 files changed, 3 insertions, 1 deletions
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;