RESOLVED FIXED 237406
[Style] Forbid spaces between type names and protocol names in Objective-C
https://bugs.webkit.org/show_bug.cgi?id=237406
Summary [Style] Forbid spaces between type names and protocol names in Objective-C
Myles C. Maxfield
Reported 2022-03-02 20:34:19 PST
[Style] Forbid spaces between type names and protocol names in Objective-C
Attachments
Patch (4.70 KB, patch)
2022-03-02 20:36 PST, Myles C. Maxfield
darin: review+
Myles C. Maxfield
Comment 1 2022-03-02 20:36:13 PST
Darin Adler
Comment 2 2022-03-03 08:10:37 PST
Comment on attachment 453694 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=453694&action=review > Tools/Scripts/webkitpy/style/checkers/cpp.py:3420 > + using_space_with_protocol = search(r'\Wid <', line) Is \W better than \b for this?
Myles C. Maxfield
Comment 3 2022-03-03 08:57:08 PST
Comment on attachment 453694 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=453694&action=review >> Tools/Scripts/webkitpy/style/checkers/cpp.py:3420 >> + using_space_with_protocol = search(r'\Wid <', line) > > Is \W better than \b for this? \b is probably better. I’ll update before landing.
Myles C. Maxfield
Comment 4 2022-03-03 10:21:14 PST
Radar WebKit Bug Importer
Comment 5 2022-03-03 10:22:17 PST
Note You need to log in before you can comment on or make changes to this bug.