From cc2c6eb04d882466c7cfbb544c251d7e0ba0f356 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 22 Jul 2009 21:38:15 +0000 Subject: [PATCH] Implement operator= for ExplodedNodeSet. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76790 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Analysis/PathSensitive/ExplodedGraph.h | 5 +++++ 1 file changed, 5 insertions(+) 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(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; -- 2.40.0