This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] Fix overly eager suppression of NPE when the value used is returned from a macro
ClosedPublic

Authored by george.karpenkov on Jul 2 2018, 3:36 PM.

Diff Detail

Repository
rC Clang

Event Timeline

NoQ accepted this revision.Jul 12 2018, 11:49 AM
NoQ added inline comments.
clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
591–593 ↗(On Diff #153815)

Are you sure we don't need to .Profile() the region of interest and maybe the value? I already forgot how this works and if we still need this at all :/

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