================ @@ -47,7 +47,9 @@ PluginAdaptorTy::create(const std::string &Name) { new PluginAdaptorTy(Name, std::move(LibraryHandler))); if (auto Err = PluginAdaptor->init()) return Err; - return PluginAdaptor; ---------------- jhuber6 wrote:
Does putting `std::move` here not work? https://github.com/llvm/llvm-project/pull/75562 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits