[libc-commits] [libc] [libc][NFC] Fix minor RPC warnings (PR #192997)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Wed Apr 22 08:21:41 PDT 2026


================
@@ -212,8 +212,8 @@ template <bool Invert> struct Process {
   /// Given the current outbox and inbox values, wait until the inbox changes
   /// to indicate that this thread owns the buffer element.
   RPC_ATTRS void wait_for_ownership(uint64_t lane_mask, uint32_t index,
-                                    uint32_t outbox, uint32_t in) {
-    while (buffer_unavailable(in, outbox)) {
----------------
jhuber6 wrote:

Yes, it's a `-Wshadow` thing. And we already use `in` so I figured `out` is fine.

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


More information about the libc-commits mailing list