[cfe-commits] r89892 - /cfe/trunk/lib/Analysis/RegionStore.cpp

Ted Kremenek kremenek at apple.com
Wed Nov 25 14:41:34 PST 2009


Author: kremenek
Date: Wed Nov 25 16:41:34 2009
New Revision: 89892

URL: http://llvm.org/viewvc/llvm-project?rev=89892&view=rev
Log:
Add FIXME.

Modified:
    cfe/trunk/lib/Analysis/RegionStore.cpp

Modified: cfe/trunk/lib/Analysis/RegionStore.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/RegionStore.cpp?rev=89892&r1=89891&r2=89892&view=diff

==============================================================================
--- cfe/trunk/lib/Analysis/RegionStore.cpp (original)
+++ cfe/trunk/lib/Analysis/RegionStore.cpp Wed Nov 25 16:41:34 2009
@@ -590,6 +590,8 @@
 ///  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));
 }
 





More information about the cfe-commits mailing list