aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/RegionStore.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-11-25 22:41:34 +0000
committerTed Kremenek <kremenek@apple.com>2009-11-25 22:41:34 +0000
commit3ad4104b19d821338499d01498c27ad2f3c42b04 (patch)
tree0ce83da367e76cb181c2ae4240cd6433d4b796e9 /lib/Analysis/RegionStore.cpp
parentd85b5b9b8fcf53906d9a61649b3657ca0d902017 (diff)
Add FIXME.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89892 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/RegionStore.cpp')
-rw-r--r--lib/Analysis/RegionStore.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp
index 16a4690f95..0afe0e8edd 100644
--- a/lib/Analysis/RegionStore.cpp
+++ b/lib/Analysis/RegionStore.cpp
@@ -590,6 +590,8 @@ SVal RegionStoreManager::getLValueString(const StringLiteral* S) {
/// VarRegion, and the lvalue of the variable is the lvalue of that region.
SVal RegionStoreManager::getLValueVar(const VarDecl *VD,
const LocationContext *LC) {
+ // FIXME: The LocationContext should be adjusted if 'VD' is not from
+ // the current stack frame, but is a global, etc.
return loc::MemRegionVal(MRMgr.getVarRegion(VD, LC));
}