Bug 238412 - Use unary static_assert
Summary: Use unary static_assert
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Yusuke Suzuki
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-03-26 03:12 PDT by Yusuke Suzuki
Modified: 2022-03-28 16:11 PDT (History)
24 users (show)

See Also:


Attachments
Patch (81.32 KB, patch)
2022-03-26 03:13 PDT, Yusuke Suzuki
no flags Details | Formatted Diff | Diff
Patch (81.29 KB, patch)
2022-03-26 03:15 PDT, Yusuke Suzuki
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yusuke Suzuki 2022-03-26 03:12:34 PDT
Use unary static_assert
Comment 1 Yusuke Suzuki 2022-03-26 03:13:41 PDT
Created attachment 455838 [details]
Patch
Comment 2 Yusuke Suzuki 2022-03-26 03:15:46 PDT
Created attachment 455839 [details]
Patch
Comment 3 Mark Lam 2022-03-26 03:25:25 PDT
Comment on attachment 455839 [details]
Patch

r=me
Comment 4 EWS 2022-03-26 07:42:28 PDT
Committed r291937 (248908@main): <https://commits.webkit.org/248908@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 455839 [details].
Comment 5 Radar WebKit Bug Importer 2022-03-26 07:43:18 PDT
<rdar://problem/90876993>
Comment 6 Darin Adler 2022-03-28 16:11:52 PDT
This is a nice little cleanup. Should also look for uses of static_assert that have non-helpful strings, like just repeating the expression.