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 / Tests | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/101117416>