Changeset 52423 in webkit


Ignore:
Timestamp:
Dec 20, 2009 10:22:08 AM (14 years ago)
Author:
eric@webkit.org
Message:

2009-12-20 Shinichiro Hamaji <hamaji@chromium.org>

Reviewed by Adam Barth.

[check-webkit-style] static_cast is not misnamed!
https://bugs.webkit.org/show_bug.cgi?id=32796

  • Scripts/modules/cpp_style.py:
  • Scripts/modules/cpp_style_unittest.py:
Location:
trunk/WebKitTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r52419 r52423  
     12009-12-20  Shinichiro Hamaji  <hamaji@chromium.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        [check-webkit-style] static_cast is not misnamed!
     6        https://bugs.webkit.org/show_bug.cgi?id=32796
     7
     8        * Scripts/modules/cpp_style.py:
     9        * Scripts/modules/cpp_style_unittest.py:
     10
    1112009-12-20  Alejandro G. Castro  <alex@igalia.com>
    212
  • trunk/WebKitTools/Scripts/modules/cpp_style.py

    r52318 r52423  
    26472647    """
    26482648    # We don't check a return statement.
    2649     if match(r'\s*return\b', line):
     2649    if match(r'\s*(return|delete)\b', line):
    26502650        return
    26512651
  • trunk/WebKitTools/Scripts/modules/cpp_style_unittest.py

    r52318 r52423  
    36593659        self.assert_lint('goto under_score;',
    36603660                         'under_score' + name_error_message)
     3661        self.assert_lint('delete static_cast<Foo*>(p);', '')
    36613662
    36623663        # Multiple variables in one line.
Note: See TracChangeset for help on using the changeset viewer.