]> granicus.if.org Git - clang/commitdiff
Implement operator= for ExplodedNodeSet.
authorTed Kremenek <kremenek@apple.com>
Wed, 22 Jul 2009 21:38:15 +0000 (21:38 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 22 Jul 2009 21:38:15 +0000 (21:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76790 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/PathSensitive/ExplodedGraph.h

index 8494d935650d000168d4cf0bdacdbb16326516b5..53b33309058ca8887ead1a872523f0c50d6f7808 100644 (file)
@@ -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;