From 173864b36c6583a07230dbbcf66ca8e94fe360f1 Mon Sep 17 00:00:00 2001 From: Anna Zaks Date: Thu, 11 Aug 2011 00:11:21 +0000 Subject: Cleanup: remove CleanedSate member and GetState() wrapper from StmtNodeBuilder, not needed as of r137273. llvm-svn: 137284 --- clang/lib/StaticAnalyzer/Core/CheckerContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/StaticAnalyzer/Core/CheckerContext.cpp') diff --git a/clang/lib/StaticAnalyzer/Core/CheckerContext.cpp b/clang/lib/StaticAnalyzer/Core/CheckerContext.cpp index f6fb8f256c0..3920a4990a6 100644 --- a/clang/lib/StaticAnalyzer/Core/CheckerContext.cpp +++ b/clang/lib/StaticAnalyzer/Core/CheckerContext.cpp @@ -23,7 +23,7 @@ CheckerContext::~CheckerContext() { // if we are building sinks or we generated a node and decided to not // add it as a transition. if (Dst.size() == size && !B.BuildSinks && !B.hasGeneratedNode) { - if (ST && ST != B.GetState(Pred)) { + if (ST && ST != Pred->getState()) { static int autoTransitionTag = 0; addTransition(ST, &autoTransitionTag); } -- cgit v1.2.3