summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/RegionStore.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-05-06 02:54:11 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-05-06 02:54:11 +0000
commitb2d4a52e3f94c3b7d5d13e5e6087ae7807a4e79c (patch)
tree1620257b28f084e0ce9bea97bdfb50f6f5227300 /clang/lib/Analysis/RegionStore.cpp
parent2080787636407e87b93aae027c12c9166afe8417 (diff)
downloadbcm5719-llvm-b2d4a52e3f94c3b7d5d13e5e6087ae7807a4e79c.tar.gz
bcm5719-llvm-b2d4a52e3f94c3b7d5d13e5e6087ae7807a4e79c.zip
remove commented code.
llvm-svn: 71060
Diffstat (limited to 'clang/lib/Analysis/RegionStore.cpp')
-rw-r--r--clang/lib/Analysis/RegionStore.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/Analysis/RegionStore.cpp b/clang/lib/Analysis/RegionStore.cpp
index 2ece31ed4c4..145559e8b81 100644
--- a/clang/lib/Analysis/RegionStore.cpp
+++ b/clang/lib/Analysis/RegionStore.cpp
@@ -639,14 +639,6 @@ RegionStoreManager::CastRegion(const GRState* state, const MemRegion* R,
|| isa<ObjCIvarRegion>(R) || isa<CompoundLiteralRegion>(R)) {
// FIXME: create an ElementRegion when the size of the pointee type is
// smaller than the region.
- //unsigned PointeeSize = getSizeInBits(PointeeTy);
- //unsigned RegionSize = getSizeInBits(R);
-// if (PointeeSize < RegionSize) {
-// SVal Idx = ValMgr.makeZeroArrayIndex();
-// ElementRegion* ER = MRMgr.getElementRegion(Pointee, Idx, R);
-// return CastResult(state, ER);
-// }
-// else
return CastResult(state, R);
}
OpenPOWER on IntegriCloud