From 86f5933420a7194b72efd2916bf977a3d1590cbc Mon Sep 17 00:00:00 2001 From: Robin Caloudis Date: Mon, 15 Jul 2024 00:20:08 +0200 Subject: [PATCH] Fix formatting --- .../std/numerics/c.math/isfinite.pass.cpp | 30 ++++++------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/libcxx/test/std/numerics/c.math/isfinite.pass.cpp b/libcxx/test/std/numerics/c.math/isfinite.pass.cpp index 56d9550348a9b4..35a054c5bcd52c 100644 --- a/libcxx/test/std/numerics/c.math/isfinite.pass.cpp +++ b/libcxx/test/std/numerics/c.math/isfinite.pass.cpp @@ -63,33 +63,21 @@ struct TestInt { }; struct ConvertibleFloat { - int value; - - ConvertibleFloat(int v) : value(v) {} - - operator float() const { - return static_cast(value); - } + int value; + ConvertibleFloat(int v) : value(v) {} + operator float() const { return static_cast(value); } }; struct ConvertibleDouble { - int value; - - ConvertibleDouble(int v) : value(v) {} - - operator double() const { - return static_cast(value); - } + int value; + ConvertibleDouble(int v) : value(v) {} + operator double() const { return static_cast(value); } }; struct ConvertibleLongDouble { - int value; - - ConvertibleLongDouble(int v) : value(v) {} - - operator long double() const { - return static_cast(value); - } + int value; + ConvertibleLongDouble(int v) : value(v) {} + operator long double() const { return static_cast(value); } }; int main(int, char**) {