Bug 298073

Summary: Remove ALLOW_NONLITERAL_FORMAT_BEGIN/END macros for generateHtml() in SOAuthorizationTests.mm
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Tools / TestsAssignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 198874, 297946, 298071    
Bug Blocks:    

David Kilzer (:ddkilzer)
Reported 2025-08-28 17:09:14 PDT
Remove ALLOW_NONLITERAL_FORMAT_BEGIN/END macros for generateHtml() in SOAuthorizationTests.mm. We can do this by introducing `__attribute__((format_matches(printf, n, "...")))` to describe the format string used by the function. See: <https://clang.llvm.org/docs/AttributeReference.html#format-matches>
Attachments
Radar WebKit Bug Importer
Comment 1 2025-08-28 17:09:58 PDT
David Kilzer (:ddkilzer)
Comment 2 2025-08-28 17:32:00 PDT
EWS
Comment 3 2025-08-29 22:49:01 PDT
Committed 299352@main (eacdac1d58d8): <https://commits.webkit.org/299352@main> Reviewed commits have been landed. Closing PR #50041 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.