[libc-commits] [libc] [libc][NFC] Remove extra ; in exhaustive_test.h. (PR #124216)
via libc-commits
libc-commits at lists.llvm.org
Thu Jan 23 17:55:36 PST 2025
https://github.com/lntue created https://github.com/llvm/llvm-project/pull/124216
These cause warnings when running check-libc.
>From 4b329ead268de85a9028419d22095f66983354ac Mon Sep 17 00:00:00 2001
From: Tue Ly <lntue.h at gmail.com>
Date: Fri, 24 Jan 2025 01:53:34 +0000
Subject: [PATCH] [libc][NFC] Remove extra ; in exhaustive_test.h.
---
libc/test/src/math/exhaustive/exhaustive_test.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libc/test/src/math/exhaustive/exhaustive_test.h b/libc/test/src/math/exhaustive/exhaustive_test.h
index 94489d2e55daa79..5912f7a27dc5234 100644
--- a/libc/test/src/math/exhaustive/exhaustive_test.h
+++ b/libc/test/src/math/exhaustive/exhaustive_test.h
@@ -225,7 +225,7 @@ struct LlvmLibcExhaustiveMathTest
std::cout << "-- Testing for FE_TOWARDZERO in range [0x" << std::hex
<< start << ", 0x" << stop << ") --" << std::dec << std::endl;
test_full_range(mpfr::RoundingMode::TowardZero, start, stop);
- };
+ }
void test_full_range_all_roundings(StorageType x_start, StorageType x_stop,
StorageType y_start, StorageType y_stop) {
@@ -252,7 +252,7 @@ struct LlvmLibcExhaustiveMathTest
<< ", 0x" << y_stop << ") --" << std::dec << std::endl;
test_full_range(mpfr::RoundingMode::TowardZero, x_start, x_stop, y_start,
y_stop);
- };
+ }
};
template <typename FloatType, mpfr::Operation Op, UnaryOp<FloatType> Func>
More information about the libc-commits
mailing list