summaryrefslogtreecommitdiffstats
path: root/clang
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
commit108f89cbfa19f59711d4c559a173fdf4e2e57291 (patch)
treecd92fb418328e3f3dc558c27ef68c8ef71281ee6 /clang
parent95bac6f77c9a0a63280aa43b376dfa0db5a91f5f (diff)
downloadbcm5719-llvm-108f89cbfa19f59711d4c559a173fdf4e2e57291.tar.gz
bcm5719-llvm-108f89cbfa19f59711d4c559a173fdf4e2e57291.zip
StringRegion is not boundable.
llvm-svn: 74786
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/Analysis/PathSensitive/MemRegion.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/include/clang/Analysis/PathSensitive/MemRegion.h b/clang/include/clang/Analysis/PathSensitive/MemRegion.h
index dd850dad9d9..61522cbe059 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;
OpenPOWER on IntegriCloud