This is an archive of the discontinued LLVM Phabricator instance.

[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".
In that case, we should still mark a single line with the warning as "relevant".

Diff Detail

Repository
rC Clang

Event Timeline

NoQ accepted this revision.Jan 23 2018, 11:49 AM

Fair enough^^

This revision is now accepted and ready to land.Jan 23 2018, 11:49 AM
This revision was automatically updated to reflect the committed changes.