aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Analysis/PathSensitive/ExplodedGraph.h
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-07-22 21:38:15 +0000
committerTed Kremenek <kremenek@apple.com>2009-07-22 21:38:15 +0000
commitcc2c6eb04d882466c7cfbb544c251d7e0ba0f356 (patch)
tree4cff8cd2d922e2f685ba2f6d6f48690e90bfa265 /include/clang/Analysis/PathSensitive/ExplodedGraph.h
parentf290e0db835a619014538c41ed552696efc0e977 (diff)
Implement operator= for ExplodedNodeSet.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76790 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Analysis/PathSensitive/ExplodedGraph.h')
-rw-r--r--include/clang/Analysis/PathSensitive/ExplodedGraph.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clang/Analysis/PathSensitive/ExplodedGraph.h b/include/clang/Analysis/PathSensitive/ExplodedGraph.h
index 8494d93565..53b3330905 100644
--- a/include/clang/Analysis/PathSensitive/ExplodedGraph.h
+++ b/include/clang/Analysis/PathSensitive/ExplodedGraph.h
@@ -503,6 +503,11 @@ public:
if (N && !static_cast<ExplodedNodeImpl*>(N)->isSink()) Impl.insert(N);
}
+ ExplodedNodeSet& operator=(const ExplodedNodeSet &X) {
+ Impl = X.Impl;
+ return *this;
+ }
+
typedef typename ImplTy::iterator iterator;
typedef typename ImplTy::const_iterator const_iterator;