Bug 113078
Summary: | check-webkit-style reports false positive enum_casing error | ||
---|---|---|---|
Product: | WebKit | Reporter: | Balazs Kelemen <kbalazs> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | eric, ossy |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Balazs Kelemen
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Csaba Osztrogonác
We haven't managed to reproduce it on ToT. I assume it was already fixed.