diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-07-04 11:43:03 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-07-04 11:43:03 +0000 |
commit | 66db13b7acc8f3edac6e8c68e79df8d2370f041d (patch) | |
tree | e5c1cfdf6c8375e467d87b31619f13f396624d70 | |
parent | 4f4d7b5d8e5fd921a407f9e00fed793c6ac1c1fc (diff) | |
download | bcm5719-llvm-66db13b7acc8f3edac6e8c68e79df8d2370f041d.tar.gz bcm5719-llvm-66db13b7acc8f3edac6e8c68e79df8d2370f041d.zip |
CompoundLiteralRegion is boundable when it is not in the file scope.
llvm-svn: 74788
-rw-r--r-- | clang/include/clang/Analysis/PathSensitive/MemRegion.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/include/clang/Analysis/PathSensitive/MemRegion.h b/clang/include/clang/Analysis/PathSensitive/MemRegion.h index 61522cbe059..5926229e517 100644 --- a/clang/include/clang/Analysis/PathSensitive/MemRegion.h +++ b/clang/include/clang/Analysis/PathSensitive/MemRegion.h @@ -392,6 +392,8 @@ public: return C.getCanonicalType(CL->getType()); } + bool isBoundable() const { return !CL->isFileScope(); } + void Profile(llvm::FoldingSetNodeID& ID) const; void print(llvm::raw_ostream& os) const; |