]> granicus.if.org Git - clang/commitdiff
Add FIXME.
authorTed Kremenek <kremenek@apple.com>
Wed, 25 Nov 2009 22:41:34 +0000 (22:41 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 25 Nov 2009 22:41:34 +0000 (22:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89892 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/RegionStore.cpp

index 16a4690f95ad1ce44df11e471e60b18ea88caf3a..0afe0e8eddeab465dd59f2c39ef914e4d525c736 100644 (file)
@@ -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));
 }