[Webkit-unassigned] [Bug 122156] [Tools] Add the check to style-checker for reporting use of static_cast on typename objects.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 25 20:12:58 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=122156
Daniel Bates <dbates at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #213232|review? |review-
Flags| |
--- Comment #11 from Daniel Bates <dbates at webkit.org> ---
Comment on attachment 213232
--> https://bugs.webkit.org/attachment.cgi?id=213232
Patch
Thank you Ravi for the patch. As it turns out we now use downcast<X>() to downcast a type instead of static_cast<X>() or toX(). It would be nice if style checker could suggest using downcast<X>() instead of static_cast<X>(). This is likely non-trivial to implement.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160426/54cd5155/attachment.html>
More information about the webkit-unassigned
mailing list