Skip to content

Commit ee59988

Browse files
committed
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.
1 parent 3aab4a0 commit ee59988

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Libraries/LibWeb/Crypto/CryptoAlgorithms.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,6 @@ WebIDL::ExceptionOr<GC::Ref<JS::Object>> RSAOAEP::export_key(Bindings::KeyFormat
10881088
[](auto) -> ErrorOr<ByteBuffer> {
10891089
VERIFY_NOT_REACHED();
10901090
});
1091-
// FIXME: clang-format butchers the visit if we do the TRY inline
10921091
auto data = TRY_OR_THROW_OOM(vm, maybe_data);
10931092

10941093
// 3. Let result be the result of creating an ArrayBuffer containing data.
@@ -1115,8 +1114,6 @@ WebIDL::ExceptionOr<GC::Ref<JS::Object>> RSAOAEP::export_key(Bindings::KeyFormat
11151114
[](auto) -> ErrorOr<ByteBuffer> {
11161115
VERIFY_NOT_REACHED();
11171116
});
1118-
1119-
// FIXME: clang-format butchers the visit if we do the TRY inline
11201117
auto data = TRY_OR_THROW_OOM(vm, maybe_data);
11211118

11221119
// 3. Let result be the result of creating an ArrayBuffer containing data.
@@ -1188,7 +1185,6 @@ WebIDL::ExceptionOr<GC::Ref<JS::Object>> RSAOAEP::export_key(Bindings::KeyFormat
11881185
[](auto) -> ErrorOr<void> {
11891186
VERIFY_NOT_REACHED();
11901187
});
1191-
// FIXME: clang-format butchers the visit if we do the TRY inline
11921188
TRY_OR_THROW_OOM(vm, maybe_error);
11931189

11941190
// 13. Set the key_ops attribute of jwk to the usages attribute of key.
@@ -1680,7 +1676,6 @@ WebIDL::ExceptionOr<GC::Ref<JS::Object>> RSAPSS::export_key(Bindings::KeyFormat
16801676
[](auto) -> ErrorOr<ByteBuffer> {
16811677
VERIFY_NOT_REACHED();
16821678
});
1683-
// FIXME: clang-format butchers the visit if we do the TRY inline
16841679
auto data = TRY_OR_THROW_OOM(vm, maybe_data);
16851680

16861681
// 3. Let result be the result of creating an ArrayBuffer containing data.
@@ -1707,8 +1702,6 @@ WebIDL::ExceptionOr<GC::Ref<JS::Object>> RSAPSS::export_key(Bindings::KeyFormat
17071702
[](auto) -> ErrorOr<ByteBuffer> {
17081703
VERIFY_NOT_REACHED();
17091704
});
1710-
1711-
// FIXME: clang-format butchers the visit if we do the TRY inline
17121705
auto data = TRY_OR_THROW_OOM(vm, maybe_data);
17131706

17141707
// 3. Let result be the result of creating an ArrayBuffer containing data.
@@ -1781,7 +1774,6 @@ WebIDL::ExceptionOr<GC::Ref<JS::Object>> RSAPSS::export_key(Bindings::KeyFormat
17811774
[](auto) -> ErrorOr<void> {
17821775
VERIFY_NOT_REACHED();
17831776
});
1784-
// FIXME: clang-format butchers the visit if we do the TRY inline
17851777
TRY_OR_THROW_OOM(vm, maybe_error);
17861778

17871779
// 7. Set the key_ops attribute of jwk to the usages attribute of key.
@@ -2265,7 +2257,6 @@ WebIDL::ExceptionOr<GC::Ref<JS::Object>> RSASSAPKCS1::export_key(Bindings::KeyFo
22652257
[](auto) -> ErrorOr<ByteBuffer> {
22662258
VERIFY_NOT_REACHED();
22672259
});
2268-
// FIXME: clang-format butchers the visit if we do the TRY inline
22692260
auto data = TRY_OR_THROW_OOM(vm, maybe_data);
22702261

22712262
// 3. Let result be the result of creating an ArrayBuffer containing data.
@@ -2292,8 +2283,6 @@ WebIDL::ExceptionOr<GC::Ref<JS::Object>> RSASSAPKCS1::export_key(Bindings::KeyFo
22922283
[](auto) -> ErrorOr<ByteBuffer> {
22932284
VERIFY_NOT_REACHED();
22942285
});
2295-
2296-
// FIXME: clang-format butchers the visit if we do the TRY inline
22972286
auto data = TRY_OR_THROW_OOM(vm, maybe_data);
22982287

22992288
// 3. Let result be the result of creating an ArrayBuffer containing data.
@@ -2366,7 +2355,6 @@ WebIDL::ExceptionOr<GC::Ref<JS::Object>> RSASSAPKCS1::export_key(Bindings::KeyFo
23662355
[](auto) -> ErrorOr<void> {
23672356
VERIFY_NOT_REACHED();
23682357
});
2369-
// FIXME: clang-format butchers the visit if we do the TRY inline
23702358
TRY_OR_THROW_OOM(vm, maybe_error);
23712359

23722360
// 7. Set the key_ops attribute of jwk to the usages attribute of key.

0 commit comments

Comments
 (0)