[cfe-commits] r76790 - /cfe/trunk/include/clang/Analysis/PathSensitive/ExplodedGraph.h
Ted Kremenek
kremenek at apple.com
Wed Jul 22 14:38:15 PDT 2009
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;
More information about the cfe-commits
mailing list