Bug 282149
| Summary: | Annotate various WTF functions with [[clang::noescape]] | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | Web Template Framework | Assignee: | Ryosuke Niwa <rniwa> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ryosuke Niwa
In order to enable lambda captures checkers for smart pointers,
we need to ignore lambda functions whose use only involves non-escaping argument to a function.
We can do this by annotating each function argument with [[clang::noescape]] attribute.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
Pull request: https://github.com/WebKit/WebKit/pull/35769
EWS
Committed 285751@main (81fbecbe3fd4): <https://commits.webkit.org/285751@main>
Reviewed commits have been landed. Closing PR #35769 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/138737744>