================ @@ -63,41 +56,39 @@ Compilation::getArgsForToolChain(const ToolChain *TC, StringRef BoundArch, if (!TC) TC = &DefaultToolChain; - DerivedArgList *&Entry = TCArgs[{TC, BoundArch, DeviceOffloadKind}]; + std::shared_ptr<DerivedArgList> &Entry = ---------------- DavidTruby wrote:
You can just use a reference to the unique_ptr here, since no ownership is being taken. https://github.com/llvm/llvm-project/pull/116406 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits