| Summary: | False webkit-check-style warnings on * | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tamas Gergely <tgergely.u-szeged> | ||||
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, darin, gbalogh.u-szeged, glenn | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Tamas Gergely
2013-12-18 02:00:37 PST
A patch for bug 125846 causes this since r160706. Created attachment 219533 [details]
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>;
Comment on attachment 219533 [details] patch Clearing flags on attachment: 219533 Committed r160772: <http://trac.webkit.org/changeset/160772> All reviewed patches have been landed. Closing bug. |