Insert a note when the object becomes not (exclusively) owned
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
Paths
| Differential D56891
[analyzer] Introduce proper diagnostic for freeing unowned object ClosedPublic Authored by george.karpenkov on Jan 17 2019, 6:33 PM.
Details Summary Insert a note when the object becomes not (exclusively) owned
Diff Detail
Event TimelineHerald added subscribers: dkrupp, donat.nagy, Szelethus and 5 others. · View Herald TranscriptJan 17 2019, 6:33 PM george.karpenkov added parent revisions: D56887: [analyzer] [NFC] Clean up messy handling of bug categories in RetainCountChecker, D56885: [analyzer] const-ify reference to bug type used in BugReporter, D56884: [analyzer] Extend BugType constructor to accept "SuppressOnSink" as a parameter.Jan 17 2019, 6:33 PM This revision is now accepted and ready to land.Jan 17 2019, 7:06 PM Closed by commit rC351514: [analyzer] Introduce proper diagnostic for freeing unowned object (authored by george.karpenkov). · Explain WhyJan 17 2019, 7:19 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 182445 lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.h
lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp
lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.h
lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
test/Analysis/osobject-retain-release.cpp
|