summaryrefslogtreecommitdiff
path: root/libc/test/src/math/ilogbf_test.cpp
diff options
context:
space:
mode:
authorlntue <35648136+lntue@users.noreply.github.com>2024-04-05 18:21:16 -0400
committerGitHub <noreply@github.com>2024-04-05 18:21:16 -0400
commit5748ad84e5e8e5621f221199cc290666f00e2a30 (patch)
treecd4c34fa1d3d152f888532b839509e945107349e /libc/test/src/math/ilogbf_test.cpp
parent3b337242ee165554f0017b00671381ec5b1ba855 (diff)
[libc] Add proxy header math_macros.h. (#87598)
Context: https://github.com/llvm/llvm-project/pull/87017 - Add proxy header `libc/hdr/math_macros.h` that will: - include `<math.h>` in overlay mode, - include `"include/llvm-libc-macros/math-macros.h"` in full build mode. - Its corresponding CMake target `libc.hdr.math_macros` will only depend on `libc.include.math` and `libc.include.llvm-libc-macros.math_macros` in full build mode. - Replace all `#include "include/llvm-libc-macros/math-macros.h"` with `#include "hdr/math_macros.h"`. - Add dependency to `libc.hdr.math_macros` CMake target when using `add_fp_unittest`. - Update the remaining dependency. - Update bazel overlay: add `libc:hdr_math_macros` target, and replacing all dependency on `libc:llvm_libc_macros_math_macros` with `libc:hdr_math_macros`.
Diffstat (limited to 'libc/test/src/math/ilogbf_test.cpp')
-rw-r--r--libc/test/src/math/ilogbf_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/test/src/math/ilogbf_test.cpp b/libc/test/src/math/ilogbf_test.cpp
index ff19dd145a19..87a2789f6c11 100644
--- a/libc/test/src/math/ilogbf_test.cpp
+++ b/libc/test/src/math/ilogbf_test.cpp
@@ -8,7 +8,7 @@
#include "ILogbTest.h"
-#include "include/llvm-libc-macros/math-macros.h"
+#include "hdr/math_macros.h"
#include "src/__support/FPUtil/FPBits.h"
#include "src/__support/FPUtil/ManipulationFunctions.h"
#include "src/math/ilogbf.h"