Bug 267981 - Add support for suppressing clang static analyzer issues with [[clang::suppress]]
Summary: Add support for suppressing clang static analyzer issues with [[clang::suppre...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-01-23 20:30 PST by David Kilzer (:ddkilzer)
Modified: 2024-01-24 18:49 PST (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-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.