Skip to content

Commit 5076d0a

Browse files
author
git apple-llvm automerger
committed
Merge commit 'e376f3129ae9' from llvm.org/main into next
2 parents 6122f58 + e376f31 commit 5076d0a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libc/shared/rpc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ template <bool Invert> struct Process {
275275
}
276276
};
277277

278-
/// Invokes a function accross every active buffer across the total lane size.
278+
/// Invokes a function across every active buffer across the total lane size.
279279
template <typename F>
280280
RPC_ATTRS static void invoke_rpc(F &&fn, uint32_t lane_size, uint64_t lane_mask,
281281
Buffer *slot) {
@@ -375,8 +375,8 @@ struct Server {
375375
uint32_t start = 0);
376376
RPC_ATTRS Port open(uint32_t lane_size);
377377

378-
RPC_ATTRS static uint64_t allocation_size(uint32_t lane_size,
379-
uint32_t port_count) {
378+
RPC_ATTRS static constexpr uint64_t allocation_size(uint32_t lane_size,
379+
uint32_t port_count) {
380380
return Process<true>::allocation_size(port_count, lane_size);
381381
}
382382

0 commit comments

Comments
 (0)