[libc-commits] [libc] d90a0d1 - Remove spurious includes from sinpif_test.cpp
via libc-commits
libc-commits at lists.llvm.org
Tue Oct 29 16:00:12 PDT 2024
Author: Alexey Samsonov
Date: 2024-10-29T16:00:08-07:00
New Revision: d90a0d1d986e12c4a6ff2eeffe29cedc34e6e2ab
URL: https://github.com/llvm/llvm-project/commit/d90a0d1d986e12c4a6ff2eeffe29cedc34e6e2ab
DIFF: https://github.com/llvm/llvm-project/commit/d90a0d1d986e12c4a6ff2eeffe29cedc34e6e2ab.diff
LOG: 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).
Added:
Modified:
libc/test/src/math/exhaustive/sinpif_test.cpp
Removed:
################################################################################
diff --git a/libc/test/src/math/exhaustive/sinpif_test.cpp b/libc/test/src/math/exhaustive/sinpif_test.cpp
index 8bc1d81eb7e3d2..81abac0b73f27a 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;
More information about the libc-commits
mailing list