Bug 196374 - check-webkit-style says an enum member named "UI" does not use InterCaps
Summary: check-webkit-style says an enum member named "UI" does not use InterCaps
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-28 14:45 PDT by John Wilander
Modified: 2019-03-28 14:45 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Wilander 2019-03-28 14:45:10 PDT
My patch for https://bugs.webkit.org/show_bug.cgi?id=196281 gets flagged for style because of this enum:

enum class WebsiteDataProcessType { Network, UI, Web };

The error I get is this:
ERROR: Source/WebKit/Shared/WebsiteData/WebsiteData.h:42:  enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums.  [readability/enum_casing] [4]