[Lldb-commits] [lldb] [lldb-dap] Silence Wunused-result warning (PR #126580)

2025-02-10 Thread Keith Smiley via lldb-commits
https://github.com/keith closed https://github.com/llvm/llvm-project/pull/126580 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] Silence Wunused-result warning (PR #126580)

2025-02-10 Thread John Harrison via lldb-commits
https://github.com/ashgti approved this pull request. https://github.com/llvm/llvm-project/pull/126580 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb-dap] Silence Wunused-result warning (PR #126580)

2025-02-10 Thread Keith Smiley via lldb-commits
keith wrote: showed up since https://github.com/llvm/llvm-project/commit/adb9ef035552d7fc42a34560677f89f4f6421295 https://github.com/llvm/llvm-project/pull/126580 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin

[Lldb-commits] [lldb] [lldb-dap] Silence Wunused-result warning (PR #126580)

2025-02-10 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Keith Smiley (keith) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/126580.diff 1 Files Affected: - (modified) lldb/tools/lldb-dap/OutputRedirector.cpp (+1-1) ``diff diff --git a/lldb/tools/lldb-dap/OutputRe

[Lldb-commits] [lldb] [lldb-dap] Silence Wunused-result warning (PR #126580)

2025-02-10 Thread Keith Smiley via lldb-commits
keith wrote: ``` lldb/tools/lldb-dap/OutputRedirector.cpp:89:5: error: ignoring return value of function declared with 'warn_unused_result' attribute [-Werror,-Wunused-result] 89 | ::write(fd, buf, sizeof(buf)); | ^~~ 1 error generated. ``` https://gith

[Lldb-commits] [lldb] [lldb-dap] Silence Wunused-result warning (PR #126580)

2025-02-10 Thread Keith Smiley via lldb-commits
https://github.com/keith created https://github.com/llvm/llvm-project/pull/126580 None >From bb41fdf6021c7a62bf77096bc4ce31e8e9311577 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Mon, 10 Feb 2025 19:00:31 + Subject: [PATCH] [lldb-dap] Silence Wunused-result warning --- lldb/tools/ll