[Webkit-unassigned] [Bug 28370] New: check-webkit-style: add check for 'using std::foo; ' statements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 16 15:35:56 PDT 2009


           Summary: check-webkit-style: add check for 'using std::foo;'
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ddkilzer at webkit.org
                CC: eric at webkit.org, mitz at webkit.org, levin at chromium.org

David Kilzer (ddkilzer) <ddkilzer at webkit.org> changed:

           What    |Removed                     |Added
  Attachment #34940|                            |review?
               Flag|                            |

Created an attachment (id=34940)
 --> (https://bugs.webkit.org/attachment.cgi?id=34940)
Patch v1

Reviewed by NOBODY (OOPS!).

In <http://webkit.org/b/28355#c1>, it was noted that new source
files use 'using namespace std;' instead of individual
'use std::foo;' statements.  This adds a level 4 check for such

* Scripts/modules/cpp_style.py:
(_ERROR_CATEGORIES): Added 'build/using_std'.
(check_using_std): Added.
(check_style): Added call to check_using_std().
* Scripts/modules/cpp_style_unittest.py:
(WebKitStyleTest.test_using_std): Added unit test.
 3 files changed, 54 insertions(+), 0 deletions(-)

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