[llvm] [llvm] Support building with c++23 (PR #154372)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 20 00:57:27 PDT 2025


================
@@ -36,7 +36,7 @@ class MachineFunctionAnalysis
     std::unique_ptr<MachineFunction> MF;
 
   public:
-    Result(std::unique_ptr<MachineFunction> MF) : MF(std::move(MF)) {}
+    Result(std::unique_ptr<MachineFunction> MF);
----------------
nikic wrote:

If we're working around a clang bug here, can we fix clang instead?

https://github.com/llvm/llvm-project/pull/154372


More information about the llvm-commits mailing list