Remove the explicit SDNodeIterator::operator= in favor of the implicit default
[oota-llvm.git] / include / llvm / Analysis / CallGraph.h
index 64d288a2bb5d13ce93eec5db838f20f2c7fef1f3..19bcf8e23e022cbc1996cfd097fbe62f3b5785eb 100644 (file)
@@ -104,6 +104,12 @@ class CallGraph {
 
 public:
   CallGraph(Module &M);
+  // Copyable for syntax's sake, but rely on RVO such that this is never called.
+  // Should really make this type legitimately movable instead, possibly my
+  // making FunctionMap values and the CallsExternalCode member unique_ptrs,
+  // then adding some internal helper objects that can call
+  // "allReferencesDropped" on those elements before their final destruction.
+  CallGraph(const CallGraph&); 
   ~CallGraph();
 
   void print(raw_ostream &OS) const;