[Webkit-unassigned] [Bug 125915] False webkit-check-style warnings on *

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 18 07:02:37 PST 2013


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


Gergő Balogh <geryxyz at inf.u-szeged.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #219533|                            |review?, commit-queue?
               Flag|                            |




--- Comment #2 from Gergő Balogh <geryxyz at inf.u-szeged.hu>  2013-12-18 07:00:43 PST ---
Created an attachment (id=219533)
 --> (https://bugs.webkit.org/attachment.cgi?id=219533&action=review)
patch

I fix this error.

However keep in mind there is impossible (without a full-parser) to distinguish the following to scenarios.

pointer declaration:
<some type> * <some variable name>;

multiplication:
<some variable name> * <some  (other) variable name>;

Of course the latest one is bad practice. So I only filter the case:
delete <variable name> * <variable name>;
return <variable name> * <variable name>;

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list