This is currently a diagnostics, but might be upgraded to an error in the future,
especially if we introduce os_return_on_success attributes.
rdar://46359592
Paths
| Differential D55530
[analyzer] Display a diagnostics when an inlined function violates its os_consumed summary ClosedPublic Authored by george.karpenkov on Dec 10 2018, 3:08 PM.
Details Summary This is currently a diagnostics, but might be upgraded to an error in the future, rdar://46359592
Diff Detail
Event TimelineHerald added subscribers: dkrupp, donat.nagy, Szelethus and 5 others. · View Herald TranscriptDec 10 2018, 3:08 PM george.karpenkov retitled this revision from [analyzer] Display a diagnostics when an inlined function violates it's os_consumed summary to [analyzer] Display a diagnostics when an inlined function violates its os_consumed summary.Dec 10 2018, 3:10 PM Comment Actions Looks great!
This revision is now accepted and ready to land.Dec 10 2018, 3:19 PM george.karpenkov marked 4 inline comments as done. george.karpenkov added inline comments.
Closed by commit rL348820: [analyzer] Display a diagnostics when an inlined function violates its… (authored by george.karpenkov). · Explain WhyDec 10 2018, 5:16 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 177634 cfe/trunk/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
cfe/trunk/test/Analysis/osobject-retain-release.cpp
|