aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Core/CheckerContext.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2011-10-24 18:25:58 +0000
committerAnna Zaks <ganna@apple.com>2011-10-24 18:25:58 +0000
commit8ff5c41f2bde7ebbe568b4c15e59f14b8befae66 (patch)
treeb2212550230924c7d56c340c81c4dbb0fa1959d2 /lib/StaticAnalyzer/Core/CheckerContext.cpp
parent1aae01a8308d2f8e31adab3f4d7ac35543aac680 (diff)
[analyzer] Use a temporary builder in CheckerContext.
First step toward removing the global Stmt builder. Added several transitional methods (like takeNodes/addNodes). + Stop early if the set of exploded nodes for the next iteration is empty. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142827 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/CheckerContext.cpp')
-rw-r--r--lib/StaticAnalyzer/Core/CheckerContext.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/StaticAnalyzer/Core/CheckerContext.cpp b/lib/StaticAnalyzer/Core/CheckerContext.cpp
index 5f43b77ceb..e4638b756c 100644
--- a/lib/StaticAnalyzer/Core/CheckerContext.cpp
+++ b/lib/StaticAnalyzer/Core/CheckerContext.cpp
@@ -16,10 +16,4 @@
using namespace clang;
using namespace ento;
-CheckerContext::~CheckerContext() {
- // Copy the results into the Dst set.
- for (NodeBuilder::iterator I = NB.begin(),
- E = NB.end(); I != E; ++I) {
- Dst.Add(*I);
- }
-}
+CheckerContext::~CheckerContext() {}