Bug 275081 - Enable -Wvla when building WebKit
Summary: Enable -Wvla when building WebKit
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords: InRadar
Depends on:
Blocks: 275752
  Show dependency treegraph
 
Reported: 2024-06-03 16:12 PDT by David Kilzer (:ddkilzer)
Modified: 2024-06-21 14:42 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 David Kilzer (:ddkilzer) 2024-06-03 16:12:06 PDT
Enable -Wvla when building WebKit since it's enabled in open source clang by default.

Avoiding the use of variable length arrays is good practice.
Comment 1 Radar WebKit Bug Importer 2024-06-03 16:12:26 PDT
<rdar://problem/129190911>
Comment 2 David Kilzer (:ddkilzer) 2024-06-03 16:19:43 PDT
Pull request: https://github.com/WebKit/WebKit/pull/29479