[Webkit-unassigned] [Bug 246138] New: check-webkit-style: loop should use while(true) instead of other options like for(; ; )

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 6 01:59:55 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=246138

            Bug ID: 246138
           Summary: check-webkit-style: loop should use while(true)
                    instead of other options like for(;;)
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: m_dubet at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221006/ff3eaad8/attachment.htm>


More information about the webkit-unassigned mailing list