aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/RegionStore.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2010-02-10 02:02:10 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2010-02-10 02:02:10 +0000
commitdcbcbdcff8b8d9c19e98c21477fce224c92ce8c4 (patch)
treef86c19db66152ad81ff8c3db92bde1287f437858 /lib/Checker/RegionStore.cpp
parented6ae499e2cb4a959842c157a8682bc96177fb81 (diff)
Add comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/RegionStore.cpp')
-rw-r--r--lib/Checker/RegionStore.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Checker/RegionStore.cpp b/lib/Checker/RegionStore.cpp
index a6646436d5..d97fdbb7fd 100644
--- a/lib/Checker/RegionStore.cpp
+++ b/lib/Checker/RegionStore.cpp
@@ -1066,7 +1066,8 @@ RegionStoreManager::GetLazyBinding(RegionBindings B, const MemRegion *R) {
return std::make_pair(X.first,
MRMgr.getFieldRegionWithSuper(FR, X.second));
}
-
+ // The NULL MemRegion indicates an non-existent lazy binding. A NULL Store is
+ // possible for a valid lazy binding.
return std::make_pair((Store) 0, (const MemRegion *) 0);
}