diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2025-09-09 08:07:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-09 08:07:17 -0700 |
commit | 807ee5d1e0ce5b611ac9ab5841d2f25ca6d0a872 (patch) | |
tree | 2d43e490d5ac559ff3288a3734987be9ecf1baf0 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 7123463ef98bd478ff068dc94bfeee1b13c551c3 (diff) | |
download | llvm-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