This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] [RetainCountChecker] Produce a correct message when OSTypeAlloc is used
ClosedPublic

Authored by george.karpenkov on Jan 16 2019, 5:23 PM.

Diff Detail

Repository
rC Clang

Event Timeline

NoQ accepted this revision.Jan 16 2019, 7:25 PM

Nice!

clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
157 ↗(On Diff #182194)

Hmm, i suspect that it'd benefit from std::move.

This revision is now accepted and ready to land.Jan 16 2019, 7:25 PM
This revision was automatically updated to reflect the committed changes.