aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2024-10-29 16:00:08 -0700
committerGitHub <noreply@github.com>2024-10-29 16:00:08 -0700
commitd90a0d1d986e12c4a6ff2eeffe29cedc34e6e2ab (patch)
treeb4fa79c2691941d9bf5e441e7620f8513e7538b7
parent2c5eea0e88a6ef6bf932d90c67aaec2bcc59d340 (diff)
downloadllvm-d90a0d1d986e12c4a6ff2eeffe29cedc34e6e2ab.zip
llvm-d90a0d1d986e12c4a6ff2eeffe29cedc34e6e2ab.tar.gz
llvm-d90a0d1d986e12c4a6ff2eeffe29cedc34e6e2ab.tar.bz2
Remove spurious includes from sinpif_test.cpp
MPFR functionality is provided by the MPFRWrapper instead, and the direct "mpfr.h" inclusion is not needed - this test doesn't rely on it (similar to its sibling libc/test/src/math/exhaustive/cospif_test.cpp that doesn't have it).
-rw-r--r--libc/test/src/math/exhaustive/sinpif_test.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libc/test/src/math/exhaustive/sinpif_test.cpp b/libc/test/src/math/exhaustive/sinpif_test.cpp
index 8bc1d81..81abac0 100644
--- a/libc/test/src/math/exhaustive/sinpif_test.cpp
+++ b/libc/test/src/math/exhaustive/sinpif_test.cpp
@@ -7,10 +7,8 @@
//===----------------------------------------------------------------------===//
#include "exhaustive_test.h"
-#include "mpfr.h"
#include "src/math/sinpif.h"
#include "utils/MPFRWrapper/MPFRUtils.h"
-#include <sys/types.h>
namespace mpfr = LIBC_NAMESPACE::testing::mpfr;