[all-commits] [llvm/llvm-project] 59ac5b: [Support] Use llvm::to_underlying in BinaryStreamW...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Sun Oct 12 20:49:47 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 59ac5b7eee30ad7a4860946a5e3d2c8822f9655b
https://github.com/llvm/llvm-project/commit/59ac5b7eee30ad7a4860946a5e3d2c8822f9655b
Author: Kazu Hirata <kazu at google.com>
Date: 2025-10-12 (Sun, 12 Oct 2025)
Changed paths:
M llvm/include/llvm/Support/BinaryStreamWriter.h
Log Message:
-----------
[Support] Use llvm::to_underlying in BinaryStreamWriter.h (NFC) (#163087)
llvm::to_underlying, forward ported from C++23, conveniently packages
static_cast and std::underlying_type_t like so:
static_cast<std::underlying_type_t<EnumTy>>(E)
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