Bug 246138 - check-webkit-style: loop should use while(true) instead of other options like for(;;)
Summary: check-webkit-style: loop should use while(true) instead of other options lik...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-10-06 01:59 PDT by Matthieu Dubet
Modified: 2022-10-13 02:00 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Dubet 2022-10-06 01:59:55 PDT
In the codebase right now, we have about 2/3 of while(true) and 1/3 of for(;;).
We should be consistent about this, and it seems there is a slight preference for while(true).
The check-webkit-style script should enforce that.
Comment 1 Radar WebKit Bug Importer 2022-10-13 02:00:19 PDT
<rdar://problem/101117416>