From 86b39f20d5091ca3fdcbeb4a22766aaffdf6ac35 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 16 Aug 2011 00:49:19 +0000 Subject: [analyzer] Remove PostStmtCustom ProgramPoint. It can be represented using tagged PostStmts. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137697 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/StaticAnalyzer/Core/ExplodedGraph.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/StaticAnalyzer/Core/ExplodedGraph.cpp') diff --git a/lib/StaticAnalyzer/Core/ExplodedGraph.cpp b/lib/StaticAnalyzer/Core/ExplodedGraph.cpp index d5ec07a8e6..5762a21600 100644 --- a/lib/StaticAnalyzer/Core/ExplodedGraph.cpp +++ b/lib/StaticAnalyzer/Core/ExplodedGraph.cpp @@ -93,10 +93,9 @@ void ExplodedGraph::reclaimRecentlyAllocatedNodes() { ProgramPoint progPoint = node->getLocation(); if (!isa(progPoint)) continue; - // Condition 4. PostStmt ps = cast(progPoint); - if (ps.getTag() || isa(ps)) + if (ps.getTag()) continue; if (isa(ps.getStmt())) -- cgit v1.2.3