From: Zhongxing Xu Date: Wed, 6 May 2009 02:54:11 +0000 (+0000) Subject: remove commented code. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=02f7ed72fa0d4674e2123a1bd54d7972812f8cc7;p=clang remove commented code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71060 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp index 2ece31ed4c..145559e8b8 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/lib/Analysis/RegionStore.cpp @@ -639,14 +639,6 @@ RegionStoreManager::CastRegion(const GRState* state, const MemRegion* R, || isa(R) || isa(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); }