[libc-commits] [libc] a976036 - [libc][NFC] Remove extra ; in exhaustive_test.h. (#124216)

via libc-commits libc-commits at lists.llvm.org
Fri Jan 24 08:57:47 PST 2025


Author: lntue
Date: 2025-01-24T11:57:43-05:00
New Revision: a976036a100b7dd459b6cabac96159875fcd513d

URL: https://github.com/llvm/llvm-project/commit/a976036a100b7dd459b6cabac96159875fcd513d
DIFF: https://github.com/llvm/llvm-project/commit/a976036a100b7dd459b6cabac96159875fcd513d.diff

LOG: [libc][NFC] Remove extra ; in exhaustive_test.h. (#124216)

These cause warnings when running check-libc.

Added: 
    

Modified: 
    libc/test/src/math/exhaustive/exhaustive_test.h

Removed: 
    


################################################################################
diff  --git a/libc/test/src/math/exhaustive/exhaustive_test.h b/libc/test/src/math/exhaustive/exhaustive_test.h
index 94489d2e55daa7..5912f7a27dc523 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