[Webkit-unassigned] [Bug 122156] [Tools] Add the check for use of static_cast on objects in Style Checker

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 1 09:53:16 PDT 2013


--- Comment #4 from Darin Adler <darin at apple.com>  2013-10-01 09:52:12 PST ---
(From update of attachment 213079)
View in context: https://bugs.webkit.org/attachment.cgi?id=213079&action=review

> Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py:780
> +        self.assertEqual(message, 'static_cast of class objects is not allowed. Use toFoo defined in Foo.h.'

This message is not clear. What are "class objects"?

> Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py:789
> +        self.assertEqual(message, 'static_cast of class objects is not allowed. Add toFoo in Foo.h and use it instead.'


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