[libc-commits] [libc] 04e8c8f - [libc] fix strtold_test formatting on ARM
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Wed Jan 12 14:35:01 PST 2022
Author: Michael Jones
Date: 2022-01-12T14:34:57-08:00
New Revision: 04e8c8f9973b05eadd5b2fcccbf03b79a333a572
URL: https://github.com/llvm/llvm-project/commit/04e8c8f9973b05eadd5b2fcccbf03b79a333a572
DIFF: https://github.com/llvm/llvm-project/commit/04e8c8f9973b05eadd5b2fcccbf03b79a333a572.diff
LOG: [libc] fix strtold_test formatting on ARM
I missed a variable when reformatting the tests. This fixes that.
Differential Revision: https://reviews.llvm.org/D117161
Added:
Modified:
libc/test/src/stdlib/strtold_test.cpp
Removed:
################################################################################
diff --git a/libc/test/src/stdlib/strtold_test.cpp b/libc/test/src/stdlib/strtold_test.cpp
index c5835f9cd1db..7af111e0b1e7 100644
--- a/libc/test/src/stdlib/strtold_test.cpp
+++ b/libc/test/src/stdlib/strtold_test.cpp
@@ -66,7 +66,7 @@ class LlvmLibcStrToLDTest : public __llvm_libc::testing::Test {
#if defined(LONG_DOUBLE_IS_DOUBLE)
__llvm_libc::fputil::FPBits<long double> expected_fp =
__llvm_libc::fputil::FPBits<long double>(expectedRawData64);
- const int expectedErrno = expectedErrno64;
+ const int expected_errno = expectedErrno64;
#elif defined(SPECIAL_X86_LONG_DOUBLE)
__llvm_libc::fputil::FPBits<long double> expected_fp =
__llvm_libc::fputil::FPBits<long double>(expectedRawData80);
@@ -74,7 +74,7 @@ class LlvmLibcStrToLDTest : public __llvm_libc::testing::Test {
#else
__llvm_libc::fputil::FPBits<long double> expected_fp =
__llvm_libc::fputil::FPBits<long double>(expectedRawData128);
- const int expectedErrno = expectedErrno128;
+ const int expected_errno = expectedErrno128;
#endif
errno = 0;
More information about the libc-commits
mailing list