Author: Adrian Prantl Date: 2024-08-27T15:52:04-07:00 New Revision: d22bee143f4a1d867103571e23c992bf97f8e4b3
URL: https://github.com/llvm/llvm-project/commit/d22bee143f4a1d867103571e23c992bf97f8e4b3 DIFF: https://github.com/llvm/llvm-project/commit/d22bee143f4a1d867103571e23c992bf97f8e4b3.diff LOG: [lldb] Update PipeWindows.cpp to new Status API Added: Modified: lldb/source/Host/windows/PipeWindows.cpp Removed: ################################################################################ diff --git a/lldb/source/Host/windows/PipeWindows.cpp b/lldb/source/Host/windows/PipeWindows.cpp index 17c8087982e539..d79dc3c2f82c90 100644 --- a/lldb/source/Host/windows/PipeWindows.cpp +++ b/lldb/source/Host/windows/PipeWindows.cpp @@ -136,7 +136,7 @@ Status PipeWindows::CreateWithUniqueName(llvm::StringRef prefix, ::RpcStringFreeA(&unique_string); error = CreateNew(pipe_name, child_process_inherit); } else { - error.SetError(status, eErrorTypeWin32); + error = Status(status, eErrorTypeWin32); } if (error.Success()) name = pipe_name; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits