Bug 295733

Summary: [JSC] Use more `enum class` for Safer C++
Product: WebKit Reporter: Keita Nonaka <iKonnyaku40>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Keita Nonaka
Reported 2025-07-10 12:14:47 PDT
That this is a refactoring-only patch with no behavior changes. Use `enum class` for `Kind`, `ArgumentRequirement`, `ConstantMode`, `DateTimeFormat`, `Type`, `SourceTextWhereErrorOccurred`, `StackCaptureAction`, `CompilationKind`, `EmptyIdentifierFlag` for Safer C++ [1]. [1]: https://github.com/WebKit/WebKit/wiki/Safer-CPP-Guidelines#use-enum-classes-instead-of-old-style-enumerations
Attachments
Keita Nonaka
Comment 1 2025-07-10 12:17:49 PDT
Radar WebKit Bug Importer
Comment 2 2025-07-17 12:15:14 PDT
EWS
Comment 3 2025-11-05 19:16:30 PST
Committed 302621@main (e3cf8388bf12): <https://commits.webkit.org/302621@main> Reviewed commits have been landed. Closing PR #47838 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.