Delete the setModule method from the Linker.
[oota-llvm.git] / include / llvm / Linker / Linker.h
index 610b1ddf9893b888a7aa98ff784b288cea86d0a8..3f6c7b6c69422a82fb3d57fb2c520061bbd3db1f 100644 (file)
@@ -85,9 +85,6 @@ public:
                     const FunctionInfoIndex *Index = nullptr,
                     Function *FuncToImport = nullptr);
 
-  /// \brief Set the composite to the passed-in module.
-  void setModule(Module *Dst);
-
   static bool LinkModules(Module *Dest, Module *Src,
                           DiagnosticHandlerFunction DiagnosticHandler,
                           unsigned Flags = Flags::None);