[all-commits] [llvm/llvm-project] def22f: [libc] Pull last dependencies into rpc_util.h (#11...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Nov 19 09:55:03 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: def22f4e718daa74c2d0c03a32e32d4913a46278
      https://github.com/llvm/llvm-project/commit/def22f4e718daa74c2d0c03a32e32d4913a46278
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-11-19 (Tue, 19 Nov 2024)

  Changed paths:
    M libc/src/__support/RPC/rpc.h
    M libc/src/__support/RPC/rpc_client.h
    M libc/src/__support/RPC/rpc_util.h

  Log Message:
  -----------
  [libc] Pull last dependencies into rpc_util.h (#116693)

Summary:
Last bit in-place to remove the dependencies on LLVM libc headers. This
just pulls the `sleep_briefly`, `std::optinal` and `type_traits`
definitions into the
`rpc_util.h` header. This duplicates some code for now but will soon be
moved into the `include/rpc` directory. At that point I will remove all
the `LIBC_INLINE` and just make it `RPC_INLINE`. Internal use will then
have a wrapper to make it all LIBC namespaced, implementations will then
implement their own handling.



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