diff options
author | Kazu Hirata <kazu@google.com> | 2025-10-12 08:50:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-12 08:50:32 -0700 |
commit | 6333e05751a3b278347166f0ff8d720217881cde (patch) | |
tree | 8aa350c9ffbe5e01a0d4722706f9e2504e141f41 /llvm/unittests/Support/JobserverTest.cpp | |
parent | ac0f95aa88a07434856decdfd6649b8853b5cdbf (diff) | |
download | llvm-6333e05751a3b278347166f0ff8d720217881cde.zip llvm-6333e05751a3b278347166f0ff8d720217881cde.tar.gz llvm-6333e05751a3b278347166f0ff8d720217881cde.tar.bz2 |
[ADT] Simplify CheckedInt::from with llvm::to_underlying (NFC) (#163038)
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)
Diffstat (limited to 'llvm/unittests/Support/JobserverTest.cpp')
0 files changed, 0 insertions, 0 deletions