aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/StringRefTest.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-09-14 20:31:47 -0700
committerGitHub <noreply@github.com>2025-09-14 20:31:47 -0700
commitb15719365861502cd1c6d216ad4a0425ee6431ea (patch)
tree9e593b8040b5d12d9a4883750a0f8d6c828d533d /llvm/unittests/ADT/StringRefTest.cpp
parente2455bfc101bfdd59ac6426c3a804f8b78152fd7 (diff)
downloadllvm-b15719365861502cd1c6d216ad4a0425ee6431ea.zip
llvm-b15719365861502cd1c6d216ad4a0425ee6431ea.tar.gz
llvm-b15719365861502cd1c6d216ad4a0425ee6431ea.tar.bz2
[ADT] Handle uint8_t and uint16_t in countr_zero (#158518)
Without this patch, the uint8_t and uint16_t cases are sent to the fallback route. This patch fixes that by relaxing the "if" condition. While it's hard to test that the correct control path is taken within countr_zero, this patch adds a few tests just to verify the correctness on uint8_t and uint16_t inputs.
Diffstat (limited to 'llvm/unittests/ADT/StringRefTest.cpp')
0 files changed, 0 insertions, 0 deletions