Author: kremenek
Date: Wed Jul 22 16:38:15 2009
New Revision: 76790

URL: http://llvm.org/viewvc/llvm-project?rev=76790&view=rev
Log:
Implement operator= for ExplodedNodeSet.

Modified:
    cfe/trunk/include/clang/Analysis/PathSensitive/ExplodedGraph.h

Modified: cfe/trunk/include/clang/Analysis/PathSensitive/ExplodedGraph.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathSensitive/ExplodedGraph.h?rev=76790&r1=76789&r2=76790&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/ExplodedGraph.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/ExplodedGraph.h Wed Jul 22 
16:38:15 2009
@@ -503,6 +503,11 @@
     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;
 


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to