From 667de49a6cbef677634ffd342c3ad5266edfca1c Mon Sep 17 00:00:00 2001 From: devgianlu Date: Mon, 2 Jun 2025 12:09:00 +0200 Subject: [PATCH] LibWeb/Crypto: Remove clang-format style issues FIXMEs These FIXMEs don't mean much. If you try to inline it, you'll see it's broken. PR review will catch it. --- Libraries/LibWeb/Crypto/CryptoAlgorithms.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Libraries/LibWeb/Crypto/CryptoAlgorithms.cpp b/Libraries/LibWeb/Crypto/CryptoAlgorithms.cpp index 4f0336309c5..f0e026abc7b 100644 --- a/Libraries/LibWeb/Crypto/CryptoAlgorithms.cpp +++ b/Libraries/LibWeb/Crypto/CryptoAlgorithms.cpp @@ -1088,7 +1088,6 @@ WebIDL::ExceptionOr> RSAOAEP::export_key(Bindings::KeyFormat [](auto) -> ErrorOr { VERIFY_NOT_REACHED(); }); - // FIXME: clang-format butchers the visit if we do the TRY inline auto data = TRY_OR_THROW_OOM(vm, maybe_data); // 3. Let result be the result of creating an ArrayBuffer containing data. @@ -1115,8 +1114,6 @@ WebIDL::ExceptionOr> RSAOAEP::export_key(Bindings::KeyFormat [](auto) -> ErrorOr { VERIFY_NOT_REACHED(); }); - - // FIXME: clang-format butchers the visit if we do the TRY inline auto data = TRY_OR_THROW_OOM(vm, maybe_data); // 3. Let result be the result of creating an ArrayBuffer containing data. @@ -1188,7 +1185,6 @@ WebIDL::ExceptionOr> RSAOAEP::export_key(Bindings::KeyFormat [](auto) -> ErrorOr { VERIFY_NOT_REACHED(); }); - // FIXME: clang-format butchers the visit if we do the TRY inline TRY_OR_THROW_OOM(vm, maybe_error); // 13. Set the key_ops attribute of jwk to the usages attribute of key. @@ -1680,7 +1676,6 @@ WebIDL::ExceptionOr> RSAPSS::export_key(Bindings::KeyFormat [](auto) -> ErrorOr { VERIFY_NOT_REACHED(); }); - // FIXME: clang-format butchers the visit if we do the TRY inline auto data = TRY_OR_THROW_OOM(vm, maybe_data); // 3. Let result be the result of creating an ArrayBuffer containing data. @@ -1707,8 +1702,6 @@ WebIDL::ExceptionOr> RSAPSS::export_key(Bindings::KeyFormat [](auto) -> ErrorOr { VERIFY_NOT_REACHED(); }); - - // FIXME: clang-format butchers the visit if we do the TRY inline auto data = TRY_OR_THROW_OOM(vm, maybe_data); // 3. Let result be the result of creating an ArrayBuffer containing data. @@ -1781,7 +1774,6 @@ WebIDL::ExceptionOr> RSAPSS::export_key(Bindings::KeyFormat [](auto) -> ErrorOr { VERIFY_NOT_REACHED(); }); - // FIXME: clang-format butchers the visit if we do the TRY inline TRY_OR_THROW_OOM(vm, maybe_error); // 7. Set the key_ops attribute of jwk to the usages attribute of key. @@ -2265,7 +2257,6 @@ WebIDL::ExceptionOr> RSASSAPKCS1::export_key(Bindings::KeyFo [](auto) -> ErrorOr { VERIFY_NOT_REACHED(); }); - // FIXME: clang-format butchers the visit if we do the TRY inline auto data = TRY_OR_THROW_OOM(vm, maybe_data); // 3. Let result be the result of creating an ArrayBuffer containing data. @@ -2292,8 +2283,6 @@ WebIDL::ExceptionOr> RSASSAPKCS1::export_key(Bindings::KeyFo [](auto) -> ErrorOr { VERIFY_NOT_REACHED(); }); - - // FIXME: clang-format butchers the visit if we do the TRY inline auto data = TRY_OR_THROW_OOM(vm, maybe_data); // 3. Let result be the result of creating an ArrayBuffer containing data. @@ -2366,7 +2355,6 @@ WebIDL::ExceptionOr> RSASSAPKCS1::export_key(Bindings::KeyFo [](auto) -> ErrorOr { VERIFY_NOT_REACHED(); }); - // FIXME: clang-format butchers the visit if we do the TRY inline TRY_OR_THROW_OOM(vm, maybe_error); // 7. Set the key_ops attribute of jwk to the usages attribute of key.