0

arrayify: Prefer constexpr

This CL is intended to be trivial. It marks the return from `std::to_array` as
`constexpr`. This CL is a split of a naive textual search-and-replace under:

sandbox/linux

This CL was uploaded by git cl split.

Change-Id: I9cb603f1788451ee4312bb7c5703b2e698b0348f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6299474
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Will Harris <wfh@chromium.org>
Auto-Submit: Kalvin Lee <kdlee@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1424578}
This commit is contained in:
Kalvin Lee
2025-02-25 08:53:07 -08:00
committed by Chromium LUCI CQ
parent 9f44fe6906
commit 734ffb7667

@ -41,7 +41,7 @@ const bool kIsX32 = true;
const bool kIsX32 = false;
#endif
const auto kSyscallsRequiredForUnsafeTraps = std::to_array<int>({
constexpr auto kSyscallsRequiredForUnsafeTraps = std::to_array<int>({
__NR_rt_sigprocmask,
__NR_rt_sigreturn,
#if defined(__NR_sigprocmask)