[llvm] r244135 - Drop the defaulted CallGraph move ctor, since it's unused and MSVC doesn't support defaulted move ops

David Blaikie dblaikie at gmail.com
Wed Aug 5 14:16:46 PDT 2015


Author: dblaikie
Date: Wed Aug  5 16:16:46 2015
New Revision: 244135

URL: http://llvm.org/viewvc/llvm-project?rev=244135&view=rev
Log:
Drop the defaulted CallGraph move ctor, since it's unused and MSVC doesn't support defaulted move ops

Modified:
    llvm/trunk/include/llvm/Analysis/CallGraph.h

Modified: llvm/trunk/include/llvm/Analysis/CallGraph.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/CallGraph.h?rev=244135&r1=244134&r2=244135&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/CallGraph.h (original)
+++ llvm/trunk/include/llvm/Analysis/CallGraph.h Wed Aug  5 16:16:46 2015
@@ -106,10 +106,6 @@ class CallGraph {
 
 public:
   CallGraph(Module &M);
-  // Default move ctor is fine, the dtor just does things to CallsExternalNode
-  // (if non-null) and the values in the FunctionMap, all of which should be
-  // null post-move, so no-op the dtor on the moved-from side.
-  CallGraph(CallGraph &&) = default;
   ~CallGraph();
 
   void print(raw_ostream &OS) const;




More information about the llvm-commits mailing list