[PM/AA] Run clang-format over the SCEV-AA code to normalize the
[oota-llvm.git] / include / llvm / Analysis / CallGraph.h
index 56472ff799a832a9c28897282b01d7b300dd3b3c..651d1901f3e7e444cfafee88e4e01c868692ddc8 100644 (file)
@@ -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;
@@ -292,27 +288,6 @@ private:
   void allReferencesDropped() { NumReferences = 0; }
 };
 
-/// \brief An analysis pass to compute the \c CallGraph for a \c Module.
-///
-/// This class implements the concept of an analysis pass used by the \c
-/// ModuleAnalysisManager to run an analysis over a module and cache the
-/// resulting data.
-class CallGraphAnalysis {
-public:
-  /// \brief A formulaic typedef to inform clients of the result type.
-  typedef CallGraph Result;
-
-  static void *ID() { return (void *)&PassID; }
-
-  /// \brief Compute the \c CallGraph for the module \c M.
-  ///
-  /// The real work here is done in the \c CallGraph constructor.
-  CallGraph run(Module *M) { return CallGraph(*M); }
-
-private:
-  static char PassID;
-};
-
 /// \brief The \c ModulePass which wraps up a \c CallGraph and the logic to
 /// build it.
 ///