kazutakahirata wrote: > We don't have compiler warnings for these? No, but the `bugprone-unused-local-non-trivial-variable` check in clang-tidy can find these. Thanks for the review! https://github.com/llvm/llvm-project/pull/139351