From 6e304e6323e22ca3410770dd455181675ffe89b3 Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Tue, 28 Apr 2009 13:49:42 +0000 Subject: [PATCH] Now we can remove the 'blast-through' code. llvm-svn: 70293 --- clang/lib/Analysis/CFRefCount.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp index 538f4f272224..8a8c704d623c 100644 --- a/clang/lib/Analysis/CFRefCount.cpp +++ b/clang/lib/Analysis/CFRefCount.cpp @@ -1904,13 +1904,6 @@ void CFRefCount::EvalSummary(ExplodedNodeSet& Dst, const TypedRegion* R = dyn_cast(MR->getRegion()); - // Blast through TypedViewRegions to get the original region type. - while (R) { - const TypedViewRegion* ATR = dyn_cast(R); - if (!ATR) break; - R = dyn_cast(ATR->getSuperRegion()); - } - if (R) { // Is the invalidated variable something that we were tracking? SymbolRef Sym = state.GetSValAsScalarOrLoc(R).getAsLocSymbol();