This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] Reference leaked object by name, even if it was created in an inlined function.
ClosedPublic

Authored by george.karpenkov on Nov 27 2018, 1:54 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

NoQ accepted this revision.Nov 29 2018, 12:59 PM

Yup, sounds reasonable at a glance.

clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
381–382 ↗(On Diff #175576)

Is this comment still relevant?

clang/test/Analysis/retain-release-path-notes.m
231 ↗(On Diff #175576)

initI -> initY?

This revision is now accepted and ready to land.Nov 29 2018, 12:59 PM
This revision was automatically updated to reflect the committed changes.