diff options
| author | Kazu Hirata <kazu@google.com> | 2025-09-14 14:04:13 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-14 14:04:13 -0700 |
| commit | 0e36aa1640a5c0d00138c61de0f99f785cff1e2a (patch) | |
| tree | fe4a1bcc837a8c9ee2426bf05bb9fdddc432eb06 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
| parent | 885546c83c1f9417d0e39679e39be3d055604db2 (diff) | |
| download | llvm-0e36aa1640a5c0d00138c61de0f99f785cff1e2a.zip llvm-0e36aa1640a5c0d00138c61de0f99f785cff1e2a.tar.gz llvm-0e36aa1640a5c0d00138c61de0f99f785cff1e2a.tar.bz2 | |
[ADT, Support] Use std::bool_constant (NFC) (#158503)
This patch replaces, std::integral_constant<bool, ...> with
std::bool_constant for brevity. Note that std::bool_constant was
introduced as part of C++17.
There are cases where we could strip away std::bool_constant
altogether:
std::bool_constant<std::is_same<T, U>>
but I'm not doing that in this patch to avoid doing multiple things in
one patch.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions
