Bug 113078 - check-webkit-style reports false positive enum_casing error
Summary: check-webkit-style reports false positive enum_casing error
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-22 10:04 PDT by Balazs Kelemen
Modified: 2013-11-04 10:51 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Balazs Kelemen 2013-03-22 10:04:03 PDT
I believe this is a false positive: https://bugs.webkit.org/show_bug.cgi?id=109579#c12
I have this:
enum {
    MarkedState,
    UnmarkedState
} m_markState

and it reports the following: enum members should use InterCaps with an initial capital letter.  [readability/enum_casing] [4]
I was trying to solve this, but I give up after created a test-case in cpp_unittest.py with exactly the same code, and it was passing.
Comment 1 Csaba Osztrogonác 2013-11-04 10:51:16 PST
We haven't managed to reproduce it on ToT. I assume it was already fixed.