diff options
author | Anna Zaks <ganna@apple.com> | 2011-10-24 18:25:53 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2011-10-24 18:25:53 +0000 |
commit | 1aae01a8308d2f8e31adab3f4d7ac35543aac680 (patch) | |
tree | 81807c40f9fd0a60caa539fe85407d69c6b6760f /lib/StaticAnalyzer/Core/CheckerContext.cpp | |
parent | fe9b2a84105b898b48a2935d50d209c880f36aa3 (diff) |
[analyzer] Pass external Dst set to NodeBuilder
This moves the responsibility for storing the output node set from the
builder to the clients. The builder is just responsible for transforming
an input set into the output set: {SrcSet/SrcNode} -> {Frontier}.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142826 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/CheckerContext.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Core/CheckerContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/StaticAnalyzer/Core/CheckerContext.cpp b/lib/StaticAnalyzer/Core/CheckerContext.cpp index 26479d0552..5f43b77ceb 100644 --- a/lib/StaticAnalyzer/Core/CheckerContext.cpp +++ b/lib/StaticAnalyzer/Core/CheckerContext.cpp @@ -18,8 +18,8 @@ using namespace ento; CheckerContext::~CheckerContext() { // Copy the results into the Dst set. - for (NodeBuilder::iterator I = NB.results_begin(), - E = NB.results_end(); I != E; ++I) { + for (NodeBuilder::iterator I = NB.begin(), + E = NB.end(); I != E; ++I) { Dst.Add(*I); } } |