[libc-commits] [PATCH] D117161: [libc] fix strtold_test formatting on ARM

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Jan 12 14:34:46 PST 2022


michaelrj created this revision.
Herald added subscribers: libc-commits, ecnelises, tschuett, kristof.beyls.
Herald added a project: libc-project.
michaelrj requested review of this revision.

I missed a variable when reformatting the tests. This fixes that.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117161

Files:
  libc/test/src/stdlib/strtold_test.cpp


Index: libc/test/src/stdlib/strtold_test.cpp
===================================================================
--- libc/test/src/stdlib/strtold_test.cpp
+++ libc/test/src/stdlib/strtold_test.cpp
@@ -66,7 +66,7 @@
 #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 @@
 #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;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117161.399475.patch
Type: text/x-patch
Size: 929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220112/707f96b8/attachment.bin>


More information about the libc-commits mailing list