aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Object/ELFObjectFileTest.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-10-13 08:41:00 -0700
committerGitHub <noreply@github.com>2025-10-13 08:41:00 -0700
commit095cad6add16df3f6273f5b24293e48a08e3230e (patch)
tree4467c92068f9a2a744cbb43198f284138660905f /llvm/unittests/Object/ELFObjectFileTest.cpp
parent65811e4963e64586c06e9c52ebd96b5d0095fe13 (diff)
downloadllvm-095cad6add16df3f6273f5b24293e48a08e3230e.zip
llvm-095cad6add16df3f6273f5b24293e48a08e3230e.tar.gz
llvm-095cad6add16df3f6273f5b24293e48a08e3230e.tar.bz2
[ADT] Simplify Bitfields.h (NFC) (#163035)
BitPatterns and Compressor collectively provide three main features: - check the value range - truncate the value before going into the bitfield - sign-extend the signed bitfield This patch retains the range check as separate function checkValue while inlining the rest into their respective callers, update() and extract().
Diffstat (limited to 'llvm/unittests/Object/ELFObjectFileTest.cpp')
0 files changed, 0 insertions, 0 deletions