diff options
author | Kazu Hirata <kazu@google.com> | 2025-10-12 20:49:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-12 20:49:33 -0700 |
commit | cf8943a0dc3c68bd1726540dd9d2bedd79c6e264 (patch) | |
tree | c280e70a78650edbeba26cccece79ffe9c997718 /llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp | |
parent | 59ac5b7eee30ad7a4860946a5e3d2c8822f9655b (diff) | |
download | llvm-cf8943a0dc3c68bd1726540dd9d2bedd79c6e264.zip llvm-cf8943a0dc3c68bd1726540dd9d2bedd79c6e264.tar.gz llvm-cf8943a0dc3c68bd1726540dd9d2bedd79c6e264.tar.bz2 |
[Support] Use llvm::to_underlying in ScopedPrinter.h (NFC) (#163088)
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/lib/CodeGen/MachineBranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions