diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-04-28 13:49:42 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-04-28 13:49:42 +0000 |
commit | 6e304e6323e22ca3410770dd455181675ffe89b3 (patch) | |
tree | b25dd44c69de01cce058be0ba134f6e7c14b328c /clang/lib/Analysis | |
parent | 76fe50c654df0f35fd93335b93d9a101fd1b8dfd (diff) | |
download | bcm5719-llvm-6e304e6323e22ca3410770dd455181675ffe89b3.tar.gz bcm5719-llvm-6e304e6323e22ca3410770dd455181675ffe89b3.zip |
Now we can remove the 'blast-through' code.
llvm-svn: 70293
Diffstat (limited to 'clang/lib/Analysis')
-rw-r--r-- | clang/lib/Analysis/CFRefCount.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp index 538f4f27222..8a8c704d623 100644 --- a/clang/lib/Analysis/CFRefCount.cpp +++ b/clang/lib/Analysis/CFRefCount.cpp @@ -1904,13 +1904,6 @@ void CFRefCount::EvalSummary(ExplodedNodeSet<GRState>& Dst, const TypedRegion* R = dyn_cast<TypedRegion>(MR->getRegion()); - // Blast through TypedViewRegions to get the original region type. - while (R) { - const TypedViewRegion* ATR = dyn_cast<TypedViewRegion>(R); - if (!ATR) break; - R = dyn_cast<TypedRegion>(ATR->getSuperRegion()); - } - if (R) { // Is the invalidated variable something that we were tracking? SymbolRef Sym = state.GetSValAsScalarOrLoc(R).getAsLocSymbol(); |