[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:56:13 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: None (lntue)
<details>
<summary>Changes</summary>
These cause warnings when running check-libc.
---
Full diff: https://github.com/llvm/llvm-project/pull/124216.diff
1 Files Affected:
- (modified) libc/test/src/math/exhaustive/exhaustive_test.h (+2-2)
``````````diff
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>
``````````
</details>
https://github.com/llvm/llvm-project/pull/124216
More information about the libc-commits
mailing list