Bug 246138

Summary: check-webkit-style: loop should use while(true) instead of other options like for(;;)
Product: WebKit Reporter: Matthieu Dubet <m_dubet>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Matthieu Dubet
Reported 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.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-10-13 02:00:19 PDT
Note You need to log in before you can comment on or make changes to this bug.