RESOLVED DUPLICATE of bug 9669365375
Style checker should flag usage of 'unsigned int'
https://bugs.webkit.org/show_bug.cgi?id=65375
Summary Style checker should flag usage of 'unsigned int'
Mihnea Ovidenie
Reported 2011-07-29 07:19:10 PDT
Style checker should report the occurrences of 'unsigned int'. Instead of 'unsigned int' we should use only 'unsigned'.
Attachments
Alexey Proskuryakov
Comment 1 2011-07-29 10:33:52 PDT
A patch in bug 65176 prompted this bug report.
David Levin
Comment 2 2011-07-29 10:40:08 PDT
For anyone interested, I'm happy to coach people on how to add rules to the style checker :).
Mihnea Ovidenie
Comment 3 2011-07-31 07:16:16 PDT
(In reply to comment #2) > For anyone interested, I'm happy to coach people on how to add rules to the style checker :). I am interested to learn about style checker and tools, i'll catch you on #webkit.
Julien Chaffraix
Comment 4 2011-11-17 15:36:39 PST
FYI, I did some very simple grepping to see our usage. Here are the results for Source/WebCore/ $ grep -R "unsigned " .|grep -v "unsigned short"|grep -v "unsigned int"|grep -v "unsigned char"|grep -v "unsigned long"|grep -v ChangeLog|wc -l 5085 $ grep -R "unsigned int" .|grep -v ChangeLog|wc -l 877 Those expressions are very rough but it still looks like it is a fairly wide-spread unwritten rule.
László Langó
Comment 5 2014-03-21 06:17:32 PDT
http://trac.webkit.org/changeset/128545 *** This bug has been marked as a duplicate of bug 96693 ***
Note You need to log in before you can comment on or make changes to this bug.