[all-commits] [llvm/llvm-project] 15fa0c: [lldb][test] Wait on the exit-status future in Hos...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Jun 18 16:43:57 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15fa0c72562fbeb569c81352b55f3914f9e512d2
      https://github.com/llvm/llvm-project/commit/15fa0c72562fbeb569c81352b55f3914f9e512d2
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2026-06-18 (Thu, 18 Jun 2026)

  Changed paths:
    M lldb/unittests/Host/HostTest.cpp

  Log Message:
  -----------
  [lldb][test] Wait on the exit-status future in HostTest (#204704)

libc++ marks `std::future::get()` as` `[[nodiscard]]`. The cleanup
lambda only needs to block until the child is reaped, not read the
status. Use `wait()` to avoid the `-Wunused-result` warning.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list