aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2025-09-09 08:07:17 -0700
committerGitHub <noreply@github.com>2025-09-09 08:07:17 -0700
commit807ee5d1e0ce5b611ac9ab5841d2f25ca6d0a872 (patch)
tree2d43e490d5ac559ff3288a3734987be9ecf1baf0 /clang/lib/CodeGen/CodeGenModule.cpp
parent7123463ef98bd478ff068dc94bfeee1b13c551c3 (diff)
downloadllvm-807ee5d1e0ce5b611ac9ab5841d2f25ca6d0a872.zip
llvm-807ee5d1e0ce5b611ac9ab5841d2f25ca6d0a872.tar.gz
llvm-807ee5d1e0ce5b611ac9ab5841d2f25ca6d0a872.tar.bz2
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565)
This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include `hdr/errno_macros.h`, as the tests just need the errno values to pass into `EXPECT_MATH_ERRO` macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to `EDOM` or `ERANGE` for certain inputs; * explicit inclusion of `src/__support/libc_errno.h` in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: ``` $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h ```
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions