WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
294505
[check-webkit-style] Allow `[[likely|unlikely]]` after `else`
https://bugs.webkit.org/show_bug.cgi?id=294505
Summary
[check-webkit-style] Allow `[[likely|unlikely]]` after `else`
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
Add attachment
proposed patch, testcase, etc.
Sosuke Suzuki
Comment 1
2025-06-14 09:31:22 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/46762
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
<
rdar://problem/153428906
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug