Bug 238412

Summary: Use unary static_assert
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: New BugsAssignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, calvaris, cdumez, changseok, cmarcelo, darin, eric.carlson, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, jer.noble, kangil.han, keith_miller, macpherson, mark.lam, menard, msaboff, philipj, saam, sam, sergio, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

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.