WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
295733
[JSC] Use more `enum class` for Safer C++
https://bugs.webkit.org/show_bug.cgi?id=295733
Summary
[JSC] Use more `enum class` for Safer C++
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
Add attachment
proposed patch, testcase, etc.
Keita Nonaka
Comment 1
2025-07-10 12:17:49 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/47838
Radar WebKit Bug Importer
Comment 2
2025-07-17 12:15:14 PDT
<
rdar://problem/156081302
>
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.
Top of Page
Format For Printing
XML
Clone This Bug