Bug 275081

Summary: Enable -Wvla when building WebKit
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: WebKit Misc.Assignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 275752    

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