[cfe-commits] r74581 - in /cfe/trunk/lib/Analysis: Environment.cpp RegionStore.cpp
Zhongxing Xu
xuzhongxing at gmail.com
Tue Jun 30 19:12:58 PDT 2009
Author: zhongxingxu
Date: Tue Jun 30 21:12:57 2009
New Revision: 74581
URL: http://llvm.org/viewvc/llvm-project?rev=74581&view=rev
Log:
add fixme.
Modified:
cfe/trunk/lib/Analysis/Environment.cpp
cfe/trunk/lib/Analysis/RegionStore.cpp
Modified: cfe/trunk/lib/Analysis/Environment.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/Environment.cpp?rev=74581&r1=74580&r2=74581&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/Environment.cpp (original)
+++ cfe/trunk/lib/Analysis/Environment.cpp Tue Jun 30 21:12:57 2009
@@ -150,6 +150,8 @@
// e.g.: int x; char *y = (char*) &x; if (*y) ...
// 'y' => element region. 'x' is its super region.
// We only add one level super region for now.
+
+ // FIXME: maybe multiple level of super regions should be added.
if (const SubRegion *SR = dyn_cast<SubRegion>(R)) {
DRoots.push_back(SR->getSuperRegion());
}
Modified: cfe/trunk/lib/Analysis/RegionStore.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/RegionStore.cpp?rev=74581&r1=74580&r2=74581&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/RegionStore.cpp (original)
+++ cfe/trunk/lib/Analysis/RegionStore.cpp Tue Jun 30 21:12:57 2009
@@ -1428,6 +1428,7 @@
// e.g.: int x; char *y = (char*) &x; if (*y) ...
// 'y' => element region. 'x' is its super region.
// We only add one level super region for now.
+ // FIXME: maybe multiple level of super regions should be added.
if (const SubRegion *SR = dyn_cast<SubRegion>(RX)) {
RegionRoots.push_back(SR->getSuperRegion());
}
More information about the cfe-commits
mailing list