Skip to content

Conversation

@rniwa
Copy link

@rniwa rniwa commented Dec 15, 2025

Merge fixes to WebKit checkers

… +1 out argument as a leak (llvm#161633)

Make RetainPtrCtorAdoptChecker recognize an assignment to an +1 out
argument so that it won't emit a memory leak warning.

(cherry picked from commit 0eb00ef)
Treat a weak Objective-C property, ivar, member variable, and local
variable as safe.

(cherry picked from commit f9326ff)
…pattern (llvm#161019)

Generalize the check for recognizing [[Obj alloc] init] to also
recognize [allocObj() init]. We do this by utilizing isAllocInit
function in RetainPtrCtorAdoptChecker.

(cherry picked from commit 06f0758)
This PR adds support for treating WTF::move like std::move in various
WebKit checkers.

(cherry picked from commit aca48a4)
…lled immediately (llvm#162977)

Recognize more ways in which a lambda can be declared and called
immediately.

(cherry picked from commit e23e570)
…h trivial "then" (llvm#171764)

Don't emit a warning when a variable declaration appears within the "if"
condition and if its "then" statement is trivial.

(cherry picked from commit 6f1e3c3)
@rniwa rniwa requested a review from a team as a code owner December 15, 2025 19:10
@rniwa
Copy link
Author

rniwa commented Dec 15, 2025

@swift-ci please test

@rniwa
Copy link
Author

rniwa commented Dec 16, 2025

@swift-ci Please test Windows platform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant