aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/ErrorTest.cpp
diff options
context:
space:
mode:
authorrilysh <nightquick@proton.me>2024-02-17 21:26:02 +0530
committerGitHub <noreply@github.com>2024-02-17 16:56:02 +0100
commit715567d03771c437e26b16fbc71c30c4474b8895 (patch)
tree49ba1409392d8b50d06c654b5c8f6aff38f25c90 /llvm/unittests/Support/ErrorTest.cpp
parent97eff26d0ca4d187a5efb8534af484dbb68bce30 (diff)
downloadllvm-715567d03771c437e26b16fbc71c30c4474b8895.zip
llvm-715567d03771c437e26b16fbc71c30c4474b8895.tar.gz
llvm-715567d03771c437e26b16fbc71c30c4474b8895.tar.bz2
[libc++] simplify the midpoint function (#81717)
Right now we've a nested ternary for the midpoint function, but this can be simplified a bit more, using if statements. This also slightly increases the readability of that function.
Diffstat (limited to 'llvm/unittests/Support/ErrorTest.cpp')
0 files changed, 0 insertions, 0 deletions