check-webkit-style: validate enums declared with explicit type
Created attachment 459453 [details] Patch
This was discovered while looking at the style bot failures inhttps://bugs.webkit.org/show_bug.cgi?id=240326
Comment on attachment 459453 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=459453&action=review rs=mews > Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py:4396 > + '''enum class Type : uint8_t { FIRST, SECOND };''', i'd include some valid test cases too (e.g. `enum class Foo : uint8_t { First, Second }`)
Pull request: https://github.com/WebKit/WebKit/pull/688
Comment on attachment 459453 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=459453&action=review >> Tools/Scripts/webkitpy/style/checkers/cpp_unittest.py:4396 >> + '''enum class Type : uint8_t { FIRST, SECOND };''', > > i'd include some valid test cases too (e.g. `enum class Foo : uint8_t { First, Second }`) Done.
Committed r294351 (250659@main): <https://commits.webkit.org/250659@main> Reviewed commits have been landed. Closing PR #688 and removing active labels.
<rdar://problem/93455377>