From: Zhongxing Xu Date: Sat, 4 Jul 2009 11:43:03 +0000 (+0000) Subject: CompoundLiteralRegion is boundable when it is not in the file scope. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a08fee80a34938b8c11c7166e009a89ced4c2b4;p=clang CompoundLiteralRegion is boundable when it is not in the file scope. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74788 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/PathSensitive/MemRegion.h b/include/clang/Analysis/PathSensitive/MemRegion.h index 61522cbe05..5926229e51 100644 --- a/include/clang/Analysis/PathSensitive/MemRegion.h +++ b/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;