Bug 295733
| Summary: | [JSC] Use more `enum class` for Safer C++ | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Keita Nonaka <iKonnyaku40> |
| Component: | JavaScriptCore | Assignee: | 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
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
Pull request: https://github.com/WebKit/WebKit/pull/47838
Radar WebKit Bug Importer
<rdar://problem/156081302>
EWS
Committed 302621@main (e3cf8388bf12): <https://commits.webkit.org/302621@main>
Reviewed commits have been landed. Closing PR #47838 and removing active labels.