Bug 294505

Summary: [check-webkit-style] Allow `[[likely|unlikely]]` after `else`
Product: WebKit Reporter: Sosuke Suzuki <sosuke>
Component: Tools / TestsAssignee: Sosuke Suzuki <sosuke>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Sosuke Suzuki
Reported 2025-06-14 09:28:30 PDT
This patch changes `check-webkit-style` to `[[likely]]` / `[[unlikely]]` after `else` token. Like... ```cpp if (condition) { foo(); bar(); } else [[likely]] { foo(); bar(); } ````
Attachments
Sosuke Suzuki
Comment 1 2025-06-14 09:31:22 PDT
EWS
Comment 2 2025-06-14 21:09:39 PDT
Committed 296238@main (ac5c0c047f1b): <https://commits.webkit.org/296238@main> Reviewed commits have been landed. Closing PR #46762 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-06-14 21:10:55 PDT
Note You need to log in before you can comment on or make changes to this bug.