summaryrefslogtreecommitdiffstats
path: root/clang/lib
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
commita3d6e62003727c280d9be4687576849c7e010b29 (patch)
tree819b95970ae45ad02927018284d439371a8296fe /clang/lib
parentf73b282bf0391374c8dbf71d81ea5541cb3e1a74 (diff)
downloadbcm5719-llvm-a3d6e62003727c280d9be4687576849c7e010b29.tar.gz
bcm5719-llvm-a3d6e62003727c280d9be4687576849c7e010b29.zip
Add FIXME.
llvm-svn: 89892
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Analysis/RegionStore.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Analysis/RegionStore.cpp b/clang/lib/Analysis/RegionStore.cpp
index 16a4690f95a..0afe0e8edde 100644
--- a/clang/lib/Analysis/RegionStore.cpp
+++ b/clang/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));
}
OpenPOWER on IntegriCloud