The note is added in the following situation:
- We are throwing a nullability-related warning on an IVar
- The path goes through a method which *could have* (syntactically determined) written into that IVar, but did not
rdar://42444460
Paths
| Differential D49689
[analyzer] Extend NoStoreFuncVisitor to insert a note on IVars ClosedPublic Authored by george.karpenkov on Jul 23 2018, 11:45 AM.
Details
Summary The note is added in the following situation:
rdar://42444460
Diff Detail
Event TimelineHerald added subscribers: mikhail.ramalho, a.sidorin, szepet and 2 others. · View Herald TranscriptJul 23 2018, 11:45 AM
george.karpenkov marked 3 inline comments as done. NoQ added inline comments.
This revision is now accepted and ready to land.Jul 24 2018, 4:02 PM Closed by commit rL337864: [analyzer] Extend NoStoreFuncVisitor to insert a note on IVars (authored by george.karpenkov). · Explain WhyJul 24 2018, 4:14 PM This revision was automatically updated to reflect the committed changes. Comment Actions Reopening as had to revert due to uncommitted dependency.
This revision is now accepted and ready to land.Jul 26 2018, 7:20 PM Closed by commit rL338149: [analyzer] Extend NoStoreFuncVisitor to insert a note on IVars (authored by george.karpenkov). · Explain WhyJul 27 2018, 11:27 AM This revision was automatically updated to reflect the committed changes. george.karpenkov removed a child revision: D49901: [analyzer] Extend NoStoreFuncVisitor to recursively follow fields.Jul 27 2018, 6:31 PM
Revision Contents
Diff 157722 cfe/trunk/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
cfe/trunk/test/Analysis/diagnostics/no-store-func-path-notes.cpp
cfe/trunk/test/Analysis/diagnostics/no-store-func-path-notes.m
|