"relevant lines" set was previously empty for path-insensitive checkers for which no lines were "executed".
In that case, we should still mark a single line with the warning as "relevant".
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
Paths
| Differential D42320
[analyzer] Mark lines as relevant even if they weren't executed but have a label attached ClosedPublic Authored by george.karpenkov on Jan 19 2018, 2:44 PM.
Details Summary "relevant lines" set was previously empty for path-insensitive checkers for which no lines were "executed".
Diff Detail
Event TimelineHerald added subscribers: a.sidorin, szepet, xazax.hun. · View Herald TranscriptJan 19 2018, 2:44 PM This revision is now accepted and ready to land.Jan 23 2018, 11:49 AM Closed by commit rC323251: [analyzer] Mark lines as relevant even if they weren't executed but have a… (authored by george.karpenkov). · Explain WhyJan 23 2018, 12:03 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 131126 lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
test/Analysis/html_diagnostics/relevant_lines/notexecutedlines.c
|