From 9a08fee80a34938b8c11c7166e009a89ced4c2b4 Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Sat, 4 Jul 2009 11:43:03 +0000 Subject: [PATCH] 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 --- include/clang/Analysis/PathSensitive/MemRegion.h | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.40.0