Bug 267981

Summary: Add support for suppressing clang static analyzer issues with [[clang::suppress]]
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: Other   
Hardware: Unspecified   
OS: Unspecified   

Description David Kilzer (:ddkilzer) 2024-01-23 20:30:11 PST
Add support for suppressing clang static analyzer issues with [[clang::suppress]].

Support for [[clang::suppress]] was added in clang-17.

How to test for support:  <https://godbolt.org/z/nrehshT3o>

Documentation:  <https://clang.llvm.org/docs/AttributeReference.html#suppress>
Comment 1 Radar WebKit Bug Importer 2024-01-23 20:30:27 PST
<rdar://problem/121489134>
Comment 2 David Kilzer (:ddkilzer) 2024-01-24 13:29:48 PST
Pull request: https://github.com/WebKit/WebKit/pull/23189
Comment 3 EWS 2024-01-24 18:49:48 PST
Committed 273460@main (22343e69f00f): <https://commits.webkit.org/273460@main>

Reviewed commits have been landed. Closing PR #23189 and removing active labels.