diff options
| author | Michael Jones <michaelrj@google.com> | 2021-08-05 21:27:29 +0000 |
|---|---|---|
| committer | Michael Jones <michaelrj@google.com> | 2021-08-06 17:29:41 +0000 |
| commit | c120edc7b3e1907127c3107b30e2667f1fde1ee2 (patch) | |
| tree | eb00a74f02cea1d646b41a7bef3c4e6ef0223f78 /libc/test/src/math/RoundToIntegerTest.h | |
| parent | 772d2093fc30b545df61c25d3b05a90ed2909e92 (diff) | |
[libc][nfc] move ctype_utils and FPUtils to __support
Some ctype functions are called from other libc functions (e.g. isspace
is used in atoi). By moving ctype_utils.h to __support it becomes easier
to include just the implementations of these functions. For these
reasons the implementation for isspace was moved into
ctype_utils as well.
FPUtils was moved to simplify the build order, and to clarify which
files are a part of the actual libc.
Many files were modified to accomodate these changes, mostly changing
the #include paths.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D107600
Diffstat (limited to 'libc/test/src/math/RoundToIntegerTest.h')
| -rw-r--r-- | libc/test/src/math/RoundToIntegerTest.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/test/src/math/RoundToIntegerTest.h b/libc/test/src/math/RoundToIntegerTest.h index a06fba8e8e0c..7dd340b06719 100644 --- a/libc/test/src/math/RoundToIntegerTest.h +++ b/libc/test/src/math/RoundToIntegerTest.h @@ -9,7 +9,7 @@ #ifndef LLVM_LIBC_TEST_SRC_MATH_ROUNDTOINTEGERTEST_H #define LLVM_LIBC_TEST_SRC_MATH_ROUNDTOINTEGERTEST_H -#include "utils/FPUtil/FPBits.h" +#include "src/__support/FPUtil/FPBits.h" #include "utils/MPFRWrapper/MPFRUtils.h" #include "utils/UnitTest/Test.h" @@ -18,7 +18,7 @@ #include <errno.h> #endif #if math_errhandling & MATH_ERREXCEPT -#include "utils/FPUtil/FEnvUtils.h" +#include "src/__support/FPUtil/FEnvUtils.h" #endif namespace mpfr = __llvm_libc::testing::mpfr; |
